CrControlCode_ZoomOperation¶
Execute the zoom operation.
It may not be possible to operate depending on the model and lens type. refs Zoom Operation / Zoom Scale.
For models that support CrDeviceProperty_Zoom_Speed_Range, link with Range(min/max/step) of CrDeviceProperty_Zoom_Speed_Range.
CrDataType: CrDataType_Int8
Value |
Explanation |
|---|---|
-1 |
min
|
1 |
max
|
1 |
step
|
This Control Code can be executed only when the device property CrDeviceProperty_Zoom_Operation_Status is Enabled.
The parameter range is variable. Refer to the device property CrDeviceProperty_Zoom_Speed_Range for parameter range.
Value examples:
1: Tele zoom (zoom speed=1)
-1: Wide zoom (zoom speed=1)
0: Stop zoom