|
|
|
|
|
- Use in an Image control
- Use in a Camera control
ZoomWithFinger (Property) In french: ZoomAuDoigt
The ZoomWithFinger property is used to: - determine if an Image or Camera control supports pinch zoom.
- enable or disable pinch zoom in an Image or Camera control.
// In drawing mode, no pinch zoom IF bDrawing = True THEN IMG_Image1.ZoomWithFinger = False ELSE IMG_Image1.ZoomWithFinger = True END
Syntax
Determining if an Image or Camera control supports pinch zoom Hide the details
<Result> = <Control used>.ZoomWithFinger
<Result>: Boolean - True if pinch zoom is enabled,
- False otherwise.
<Control used>: Control name Name of the control to be used: - Image control,
- Camera control.
Enabling or disabling pinch zoom in an Image or Camera control Hide the details
<Control used>.ZoomWithFinger = <Authorization>
<Control used>: Control name Name of the control to be used: - Image control,
- Camera control.
<Authorization>: Boolean - True to enable pinch zoom,
- False otherwise.
Remarks Use in an Image control - This property is mainly used to temporarily interrupt the the pinch zoom in order to drawn in an Image control. Similarly, the finger scrolling can be interrupted with the ScrollWithFinger property.
- Caution: For an Image control, the scroll and zoom feature must have been enabled in the description window ("Automatic scroll and zoom" option in the "Details" tab).
- Calling dStartDrawing automatically disables pinch zoom and finger scrolling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|