Back to Devexpress

TdxCustomCameraControl.DeviceIndex Property

vcl-dxcameracontrol-dot-tdxcustomcameracontrol-b7ee1b9e.md

latest1.4 KB
Original Source

TdxCustomCameraControl.DeviceIndex Property

Specifies the active camera.

Declaration

delphi
property DeviceIndex: Integer read; write;

Property Value

TypeDescription
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.

See Also

TdxCameraManager.StartRecording

TdxCameraManager.StopRecording

TdxCustomCameraControl Class

TdxCustomCameraControl Members

dxCameraControl Unit