Table of Contents

Class VideoCaptureDeviceAdjustValue

Namespace
VisioForge.Core.Types.VideoCapture
Assembly
VisioForge.Core.dll

Represents the current value and control mode for a video capture device adjustment property.

public class VideoCaptureDeviceAdjustValue

Inheritance

Inherited Members

Remarks

This class is used to get or set the current state of adjustable properties on video capture devices, such as brightness, contrast, saturation, and other video processing parameters. It combines the actual value with information about whether automatic control is enabled.

Constructors

VideoCaptureDeviceAdjustValue()

Initializes a new instance of the VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue class with default values.

public VideoCaptureDeviceAdjustValue()

Remarks

Creates an instance with VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue.Value set to 0 and VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue.Auto set to false.

VideoCaptureDeviceAdjustValue(int, bool)

Initializes a new instance of the VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue class with specified values.

public VideoCaptureDeviceAdjustValue(int value, bool auto)

Parameters

value int

The initial value for the adjustment property.

auto bool

true to enable automatic control; false for manual control.

Properties

Auto

Gets or sets a value indicating whether automatic control is enabled for this property.

public bool Auto { get; set; }

Property Value

bool

Remarks

When automatic control is enabled, the device will dynamically adjust the property value based on current conditions, and the VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue.Value property may be ignored or read-only. When disabled, the VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceAdjustValue.Value property directly controls the adjustment.

Value

Gets or sets the current value of the adjustment property.

public int Value { get; set; }

Property Value

int