Skip to main content

TdxCustomCameraControl.DeviceIndex Property

Specifies the active camera.

Declaration

property DeviceIndex: Integer read; write;

Property Value

Type Description
Integer

The index of the active camera. The camera control becomes inactive when the active camera index changes.

The DeviceName property returns the name of the active camera.

Remarks

The camera control initially selects the first available camera as active. You can use the DeviceIndex property to switch between cameras when multiple cameras are available. Users can select an available camera in the camera control’s Settings pop-up menu.

The Settings Pop-Up Menu

See Also