Accusoft.ImagXpress13.Net
ImageRotationTriggerAngle Property




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

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

Reference

Touch Class
Touch Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback