LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
UseRotateControlPoints Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnEditDesigner Class : UseRotateControlPoints Property



The UseRotateControlPoints Property supports WPF/Silverlight.

The UseRotateControlPoints Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the use of rotate control points of this AnnEditDesigner. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property UseRotateControlPoints As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnEditDesigner
Dim value As Boolean
 
instance.UseRotateControlPoints = value
 
value = instance.UseRotateControlPoints
C# 
public bool UseRotateControlPoints {get; set;}
C++/CLI 
public:
property bool UseRotateControlPoints {
   bool get();
   void set (    bool value);
}

Property Value

true if using rotate control points for AnnObject rotation; false otherwise.

Example

This example toggles the use of the rotate control points.

Visual BasicCopy Code
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
C#Copy Code
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner)
{
   editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints;
   string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints);
   MessageBox.Show(s);
}
SilverlightCSharpCopy Code
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner)
{
   editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints;
   string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints);
   MessageBox.Show(s);
}
SilverlightVBCopy Code
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

Remarks

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 keyboard rotate user interface. For more information, refer to WPF Annotation Rotation Options.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

UseRotateControlPoints requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.