windowsforms-devexpress-dot-xtraeditors-dot-camera-39f28ff3.md
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
public enum VideoStretchMode
Public Enum VideoStretchMode
| Name | Description |
|---|---|
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:
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