Back to Devexpress

CameraDeviceBase.Resolution Property

corelibraries-devexpress-dot-data-dot-camera-dot-cameradevicebase.md

latest1.8 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public Size Resolution { get; set; }
vb
Public Property Resolution As Size

Property Value

TypeDescription
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

GetAvailableResolutions()

CameraDeviceBase Class

CameraDeviceBase Members

DevExpress.Data.Camera Namespace