Accusoft.ImagXpressSdk Namespace > Touch Class : ImageRotationTriggerAngle Property |
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <DescriptionAttribute("Gets and sets the angle that will trigger a rotation of the current image during a rotation gesture.")> <BrowsableAttribute(False)> <DefaultValueAttribute()> Public Property ImageRotationTriggerAngle As Double
'Usage Dim instance As Touch Dim value As Double instance.ImageRotationTriggerAngle = value value = instance.ImageRotationTriggerAngle
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DescriptionAttribute("Gets and sets the angle that will trigger a rotation of the current image during a rotation gesture.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public double ImageRotationTriggerAngle {get; set;}
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DescriptionAttribute("Gets and sets the angle that will trigger a rotation of the current image during a rotation gesture.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public: __property double get_ImageRotationTriggerAngle(); public: __property void set_ImageRotationTriggerAngle( double value );
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [DescriptionAttribute("Gets and sets the angle that will trigger a rotation of the current image during a rotation gesture.")] [BrowsableAttribute(false)] [DefaultValueAttribute()] public: property double ImageRotationTriggerAngle { double get(); void set ( double value); }
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.