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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public float RotationSnapThreshold { 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.
RotationSnapCS
this.annotateViewer1.RotationSnapInterval = 10;
this.annotateViewer1.RotationSnapThreshold = 2;
RotationSnapVB
Me.annotateViewer1.RotationSnapInterval = 10
Me.annotateViewer1.RotationSnapThreshold = 2
See Also