AnnotationControllerRotationSnapThreshold Property |
Gets or sets the amount of deviation from the
RotationSnapInterval
that will be used to snap to the rotation interval.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public float RotationSnapThreshold { get; set; }
Public Property RotationSnapThreshold As Single
Get
Set
Property Value
Type:
Single
The amount of deviation from the
RotationSnapInterval.
Remarks
This value must be from 0 to half the
RotationSnapInterval.
If the property is set to an invalid value it will be automatically corrected.
Examples
The following settings will cause the rotation to snap at 10 degree intervals when
the rotation gets within 2 degrees of the interval.
this.annotateViewer1.RotationSnapInterval = 10;
this.annotateViewer1.RotationSnapThreshold = 2;
Me.annotateViewer1.RotationSnapInterval = 10
Me.annotateViewer1.RotationSnapThreshold = 2
See Also