Zoom Gestures
Defined in namespace Scandit.DataCapture.Core.UI.Gesture
- IZoomGesture
interface IZoomGesture
Added in version 6.6.0
Common interface for all the zoom gestures.
- TriggerZoomIn()
void
TriggerZoomIn()Added in version 6.7.0
Triggers a zoom in as if the zoom in gesture was performed.
- TriggerZoomOut()
void
TriggerZoomOut()Added in version 6.7.0
Triggers a zoom out as if the zoom out gesture was performed.
- AddListener()
void
AddListener(IZoomGestureListener listener)Added in version 6.7.0
Adds the listener to this gesture.
In case the same listener is already observing this instance, calling this method will not add the listener again.
- RemoveListener()
void
RemoveListener(IZoomGestureListener listener)Added in version 6.7.0
Removes a previously added listener from this gesture.
In case the listener is not currently observing this instance, calling this method has no effect.
- ToJson()
string
ToJson()Added in version 6.7.0
Returns the JSON representation of the zoom gesture.
- SwipeToZoom
class SwipeToZoom : IZoomGesture
Added in version 6.6.0
Swipe to zoom gesture.
- Create()
static SwipeToZoom Create()
Added in version 6.6.0
Constructs a new SwipeToZoom instance. The zoom levels can be changed in the CameraSettings through ZoomFactor (zoom factor when zoomed out) and ZoomGestureZoomFactor (zoom factor when zoomed in).
- TriggerZoomIn()
void
TriggerZoomIn()Added in version 6.7.0
Implemented from IZoomGesture. See IZoomGesture.TriggerZoomIn().
- TriggerZoomOut()
void
TriggerZoomOut()Added in version 6.7.0
Implemented from IZoomGesture. See IZoomGesture.TriggerZoomOut().
- AddListener()
void
AddListener(IZoomGestureListener listener)Added in version 6.7.0
Implemented from IZoomGesture. See IZoomGesture.AddListener().
- RemoveListener()
void
RemoveListener(IZoomGestureListener listener)Added in version 6.7.0
Implemented from IZoomGesture. See IZoomGesture.RemoveListener().
- ToJson()
string
ToJson()Added in version 6.7.0
Implemented from IZoomGesture. See IZoomGesture.ToJson().