objActiveDcam.Tilt [= Value] [C/C++]
HRESULT get_Tilt( long *pTilt );
HRESULT put_Tilt( long Tilt );
Data Type [VB]
Pointer to the current tilt value
The tilt value to be set
The tilt control is not available for the selected camera
The value is out of range
The following VB example demonstrates the use of a scroll control for real-time adjustment of the camera's tilt.
Private SubForm_Load() ActiveDcam1.Acquire=True HScroll1.Value = ActiveDcam1.Tilt
HScroll1.Min = ActiveDcam1.GetTiltMin
HScroll1.Max = ActiveDcam1.GetTiltMax
Private SubHScroll1_Scroll() ActiveDcam1.Tilt = HScroll1.Value End Sub
This property provides adjustment of the camera's pan feature. Depending on the camera model, it can control the mechanical tilt by physically moving the camera in the vertical plane or the electronic tilt by choosing the vertical position of the effective image area on a CCD sensor.
The valid property range is reported by the GetTiltMin and GetTiltMax methods. Note that the property is available only if the currently selected camera supports software tilt control.