TVideoGrabber.SetCameraControl

Prev

Next

TVideoGrabber

Methods

 




































































































Sets a TCameraControl setting.


Declaration
function SetCameraControl(Setting: TCameraControl; SetAuto: Boolean; SetDefault: Boolean; SetValue: LongInt): Boolean;


bool __fastcall SetCameraControl(TCameraControl Setting, bool SetAuto, bool SetDefault, int SetValue)


Function SetCameraControl(Setting As TxCameraControl, SetAuto as Boolean, SetDefault as Boolean, SetValue as Long) As Boolean

Description

Used to set a TCameraControl setting, if available for the current video capture device (test IsCameraControlSetting for availability).

- if SetAuto is true, SetDefault and SetValue are ignored and the setting is switched in "auto" mode
- if SetAuto is false and SetDefault is true, SetValue is ignored and the setting is set to its default value,
- if SetAuto is false and SetDefault is false, the SetValue value is applied to the setting.


See Also
TCameraControl CameraControlAuto CameraControlDefault CameraControlMax CameraControlMin CameraControlSettings CameraControlStep GetCameraExposure GetCameraExposureAsString IsCameraControlAvailable IsCameraControlSettingAvailable SendCameraCommand SetCameraExposure