Gets or sets the use of rotate control points of this AnnEditDesigner.
public virtual bool UseRotateControlPoints { get; set; }
Public Overridable Property UseRotateControlPoints As Boolean
true if using rotate control points for AnnObject rotation; false otherwise.
For more control over rotating an AnnObject or a AnnGroupObject in design mode with an AnnEditDesigner, set this property to true. This allows the user to precisely control the rotate center, as well as the rotate angle, by moving the rotate control points. Setting this property to false uses the older rotate user interface. For more information, refer to New Annotation Features of Version 14.5 (Deprecated).
This example toggles the use of the rotate control points.
using Leadtools;
using Leadtools.Annotations;
using Leadtools.Codecs;
using Leadtools.WinForms;
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner)
{
editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints;
string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints);
MessageBox.Show(s);
}
Imports Leadtools
Imports Leadtools.Annotations
Imports Leadtools.Codecs
Imports Leadtools.WinForms
Public Sub AnnEditDesigner_UseRotateControlPoints(ByVal editDesigner As AnnEditDesigner)
editDesigner.UseRotateControlPoints = Not editDesigner.UseRotateControlPoints
Dim s As String = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints)
MessageBox.Show(s)
End Sub
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET