Skip to main content

CameraDeviceBase.Resolution Property

Gets or sets the resolution of a video stream captured by the current device.

Namespace: DevExpress.Data.Camera

Assembly: DevExpress.Data.Desktop.v24.1.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

public Size Resolution { get; set; }

Property Value

Type Description
Size

A Size structure that specifies the resolution of a video stream captured by the current device.

Remarks

The Resolution property allows you to specify the preferred resolution of a video stream. If the specified resolution is not supported, the device uses the default resolution. To get the list of resolutions available on the current device, call the CameraDeviceBase.GetAvailableResolutions method.

See Also