Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > InteractiveService Class : PinchDelta Event |
public event EventHandler<InteractivePinchDeltaEventArgs> PinchDelta
'Declaration
Public Event PinchDelta As EventHandler(Of InteractivePinchDeltaEventArgs)
The event handler receives an argument of type InteractivePinchDeltaEventArgs containing data related to this event. The following InteractivePinchDeltaEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DistanceRatio | Ratio of the current distance between cyrrent and original positions.s |
IsHandled (Inherited from Leadtools.Controls.InteractiveEventArgs) | Indicates whether this event is handled. |
MouseButton (Inherited from Leadtools.Controls.InteractiveEventArgs) | Mouse button that triggered this event. |
NativeEvent (Inherited from Leadtools.Controls.InteractiveEventArgs) | Native event associated with this event. |
Origin (Inherited from Leadtools.Controls.InteractiveEventArgs) | Original mouse or touch position. |
Origin2 (Inherited from Leadtools.Controls.InteractiveMultiTouchEventArgs) | Position of the origin for the second touch. |
Position (Inherited from Leadtools.Controls.InteractiveEventArgs) | Current mouse or touch position. |
Position2 (Inherited from Leadtools.Controls.InteractiveMultiTouchEventArgs) | Current position of the second touch. |
TotalAngleDelta | Difference in angle between the current and original positions. |
Pinch events are only supported by touch devices.
The PinchDelta event will always fire after PinchStarted occurs and any of the following occurs:
On a device that supports touch: When the user moves the fingers after pinch operation has been started.
Note that pinch events are not supported in the Windows Forms platform.