|
|
|
|
|
- Use in an Image control
- Use in a Camera control
TouchZoom (Property) In french: ZoomAuDoigt
Warning
From version 2025, ZoomWithFinger is kept for backward compatibility. This property has been replaced with TouchZoom.
The TouchZoom property allows you to: - determine if an Image or Camera control supports pinch zoom.
- enable or disable pinch zoom in an Image or Camera control.
IF bDrawing = True THEN
IMG_Image1.TouchZoom = False
ELSE
IMG_Image1.TouchZoom = True
END
Syntax
Determining if an Image or Camera control supports pinch zoom Hide the details
<Result> = <Control used>.TouchZoom
<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>.TouchZoom = <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 pinch zoom in order to drawn in an Image control. Similarly, touch scrolling can be interrupted with the TouchScrollable property.
 Note: For an Image control, the scroll and zoom features must have been enabled in the description window ("Automatic scrolling and zoom" option in the "Details" tab). - Calling dStartDrawing automatically disables pinch zoom and touch scrolling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|