LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

UseRotateControlPoints Property (AnnEditDesigner)

Example 





Gets or sets the use of rotate control points of this AnnEditDesigner.
Syntax
public virtual bool UseRotateControlPoints {get; set;}
'Declaration
 
Public Overridable Property UseRotateControlPoints As Boolean
'Usage
 
Dim instance As AnnEditDesigner
Dim value As Boolean
 
instance.UseRotateControlPoints = value
 
value = instance.UseRotateControlPoints
public virtual bool UseRotateControlPoints {get; set;}
 get_UseRotateControlPoints();
set_UseRotateControlPoints(value);
public:
virtual property bool UseRotateControlPoints {
   bool get();
   void set (    bool value);
}

Property Value

true if using rotate control points for AnnObject rotation; false otherwise.
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 older rotate user interface. For more information, refer to New Annotation Features of Version 14.5.
Example
 
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
public void AnnEditDesigner_UseRotateControlPoints(AnnEditDesigner editDesigner)
{
   editDesigner.UseRotateControlPoints = !editDesigner.UseRotateControlPoints;
   string s = String.Format("UseRotateControlPoints changed to {0}", editDesigner.UseRotateControlPoints);
   MessageBox.Show(s);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnEditDesigner Class
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.