Click or drag to resize

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: (.NET 4.5.2, x86)
public float RotationSnapThreshold { get; set; }

Property Value

Type: Single
The amount of deviation from the RotationSnapInterval.
This value must be from 0 to half the RotationSnapInterval. If the property is set to an invalid value it will be automatically corrected.
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