TdxCustomCameraControl Class
The base class for the camera control.
Declaration
TdxCustomCameraControl = class(
TcxControl,
IdxSkinSupport
)
Remarks
A camera control allows you to capture a video or images from built-in or connected cameras. The camera control accesses a specific camera to render its output.
The camera control allows you to select the required camera from those registered in the Device Manager and allows users to switch between registered cameras and their resolutions in the camera control’s Settings pop-up menu.
Main API Members
The list below outlines key members of the TdxCustomCameraControl
class that allow you to configure cameras and capture video and images.
- Switch between available cameras and obtain the active camera’s name (DeviceIndex and DeviceName).
- Manage camera output (Active, Pause, Play, and Stop).
- Obtain supported resolutions from the active camera and switch between them (Resolutions and ResolutionIndex).
- Scale rendered images (FitMode).
- Capture an image and access it (Capture and CapturedBitmap).
- Identify the current control state and respond to state changes (State and OnStateChanged).
- Enable the Gear button that invokes the Settings popup menu or invoke it in code (ShowSettingsButton and ShowSettingsToolbar).
Terminal TdxCustomCameraControl Class Descendant
Do not use the TdxCustomCameraControl
class directly. Use the TdxCameraControl class instead.
Implements
Inheritance
TObject
TPersistent
TComponent
TControl
TWinControl
TCustomControl
TcxCustomControl
TcxControl
TdxCustomCameraControl
See Also