TVideoGrabber.ONVIFPTZPreset

Prev

Next

TVideoGrabber

Methods

 




































































































Manage the presets


Declaration
function ONVIFPTZPreset (PresetAction: string; PresetName: string): Boolean;


BOOL _ONVIFPTZPreset (void *TVGObject, const wchar_t * *PresetAction, const wchar_t * *PresetName);

Description

Creates, remove or goto the specified preset, if the camera supports the presets

PresetAction can be "CREATE", "REMOVE" or "DELETE"

PresetName can be any choosen name, however some cameras support only their own predefined names of presets

To create a preset, move the camera to the desired position with ONVIFPTZStartContinuousMove or ONVIFPTZSetPosition, then invoke ONVIFPTZPreset ("CREATE", ThePresetName) to save the current position to the specified preset.

Then the camera can be positionned to this position when needed by invoking ONVIFPTZPreset ("GOTO", ThePresetName)


See Also
IR Cut Filter of Axis cameras TONVIFDeviceInfo ExtraDLLPath ONVIF_GetStr ONVIF_SetStr ONVIFDeviceInfo ONVIFPTZGetLimits ONVIFPTZGetPosition ONVIFPTZSendAuxiliaryCommand ONVIFPTZSetPosition ONVIFPTZStartMove ONVIFPTZStopMove ONVIFSnapShot