Accusoft.ImagXpress12.Net
ImageRotationTriggerAngle Property
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > Touch Class : ImageRotationTriggerAngle Property




Glossary Item Box

Gets and sets the angle that will trigger a rotation of the current image during a rotation gesture.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

A System.Double value from 0.0° to 90.0°. The default value is 45.0°.

Remarks

Note: This property is only valid when the ImageRotationEnabled property is set to true.

This property determines what angles will trigger a rotation of the current image during a rotation gesture. For instance, if this property were set to 30° then when the user rotated greater than 30° the image would rotate 90°. If the user rotated back below 30°, the image would rotate back the 90°. With 30° as an example, think of each place a rotation could occur as the numbers on a clock. If the user passed his fingers from the 12 o'clock position to across the 1 o'clock position, the image would rotate 90° clockwise. If the user went backwards so that his fingers crossed the 1 o'clock position towards the 12 o'clock position then the image would rotate back 90° counter-clockwise when the user's fingers had passed on the other side of the 1 o'clock position. If this behavior is not desired then the application can either set this value to 90.0° or set the ImageRotationEnabled property to false and handle the ImageXView.RotationGestureOccurring and ImageXView.RotationGestureOccurred events.

See Also

©2013. Accusoft Corporation. All Rights Reserved.