Leadtools.Annotations Namespace > AnnAutomation Class : ResetRotatePoints Method |
public virtual void ResetRotatePoints()
'Declaration Public Overridable Sub ResetRotatePoints()
'Usage Dim instance As AnnAutomation instance.ResetRotatePoints()
public virtual void ResetRotatePoints()
function Leadtools.Annotations.AnnAutomation.ResetRotatePoints()
public: virtual void ResetRotatePoints();
If displaying rotate control points (see AnnEditDesigner.UseRotateControlPoints), two rotate control points are displayed for a selected AnnObject:
This method will reset the rotate control points to their default locations.
Use the CanResetRotatePoints property to determine whether you can call this method.
For more information, refer to New Annotation Features of Version 14.5.
Public Sub AnnAutomation_ResetRotatePoints(ByVal automation As AnnAutomation) If automation.CanResetRotatePoints Then automation.ResetRotatePoints() Else MessageBox.Show("The rotate control points cannot be reset!") End If End Sub
public void AnnAutomation_ResetRotatePoints(AnnAutomation automation) { if (automation.CanResetRotatePoints) automation.ResetRotatePoints(); else MessageBox.Show("The rotate control points cannot be reset!"); }
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