Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VideoStretchMode Enum

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

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum VideoStretchMode

#Members

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.

#Related API Members

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