Back to Devexpress

VideoStretchMode Enum

windowsforms-devexpress-dot-xtraeditors-dot-camera-39f28ff3.md

latest2.0 KB
Original Source

VideoStretchMode Enum

Provides members that specify how the video frame is stretched to fit the CameraControl.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public enum VideoStretchMode
vb
Public Enum VideoStretchMode

Members

NameDescription
Default

The default mode. This value is equivalent to the ZoomInside value.

| | ZoomOutside |

Zooms the video frame proportionally, making its smaller side (width or height) displayed in its entirety. The frame is centered, so the larger side (height or width) is not displayed in its entirety.

| | ZoomInside |

Zooms the video frame proportionally, so that it is displayed in the client area in its entirety.

| | Stretch |

The video frame is stretched to fill the available client area.

| | None |

The video frame is not stretched.

|

The following properties accept/return VideoStretchMode values:

Remarks

Values of this enumeration are used to set the CameraControl.VideoStretchMode property to specify how the video frame is stretched to fit the CameraControl.

See Also

VideoStretchMode

DevExpress.XtraEditors.Camera Namespace