CameraControl.VideoSettings Property
Provides access to the video settings (brightness, contrast, etc.) on the currently used device.
Namespace: DevExpress.XtraEditors.Camera
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[DXCategory("Options")]
public DeviceVideoSettings VideoSettings { get; }
Property Value
Type | Description |
---|---|
DeviceVideoSettings | A DeviceVideoSettings object that comprises the video settings (brightness, contrast, etc.) on the currently used device. |
Remarks
The device currently used by the CameraControl is specified by the CameraControl.Device property. The VideoSettings property provides access to the video quality settings on the currently used device. To learn more about video properties, see the DeviceVideoSettings class.
To adjust the brightness, contrast and saturation, or set these properties to their defaults, an end-user can use the built-in Camera Settings panel. At run time, this panel can be invoked with a click on the predefined Settings button displayed in the top far corner of the control (see CameraControl.ShowSettingsButton). In code, you can invoke the Camera Settings panel by calling the CameraControl.ShowSettingsForm method.