Table of Contents

Class VideoCaptureDeviceCameraControlValue

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

Represents the current value and control mode for a camera-specific control property.

public class VideoCaptureDeviceCameraControlValue

Inheritance

Inherited Members

Remarks

This class is used to get or set the current state of camera control properties such as pan, tilt, zoom, focus, exposure, and other mechanical or optical adjustments. It combines the actual value with control flags that specify how the value should be interpreted (absolute vs. relative) and what control mode is active (manual vs. automatic).

Constructors

VideoCaptureDeviceCameraControlValue()

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

public VideoCaptureDeviceCameraControlValue()

Remarks

Creates an instance with VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceCameraControlValue.Value set to 0 and VisioForge.Core.Types.VideoCapture.VideoCaptureDeviceCameraControlValue.Flags set to VisioForge.Core.Types.VideoCapture.CameraControlFlags.None.

VideoCaptureDeviceCameraControlValue(int, CameraControlFlags)

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

public VideoCaptureDeviceCameraControlValue(int value, CameraControlFlags flags)

Parameters

value int

The initial value for the camera control property.

flags CameraControlFlags

The control flags that specify how the value should be interpreted and controlled.

Properties

Flags

Gets or sets the control flags that specify how the value is interpreted and controlled.

public CameraControlFlags Flags { get; set; }

Property Value

CameraControlFlags

Remarks

Common flag combinations include:

  • Manual + Absolute: Direct control of absolute position
  • Manual + Relative: Control via relative movements
  • Auto: Automatic control by the device (value may be read-only)

Value

Gets or sets the current value of the camera control property.

public int Value { get; set; }

Property Value

int