Leadtools.Annotations Namespace > AnnObject Class : CalculateRotateAngle Method |
public virtual float CalculateRotateAngle()
'Declaration Public Overridable Function CalculateRotateAngle() As Single
public virtual float CalculateRotateAngle()
function Leadtools.Annotations.AnnObject.CalculateRotateAngle()
public: virtual float CalculateRotateAngle();
Public Sub AnnObject_CalculateRotateAngle(ByVal obj As AnnObject) Dim angle As Single = obj.CalculateRotateAngle() Dim s As String = String.Format("The selected {0} has a rotate angle of {1}", obj.GetType().ToString(), angle) MessageBox.Show(s) End Sub
public void AnnObject_CalculateRotateAngle(AnnObject obj) { float angle = obj.CalculateRotateAngle(); string s = string.Format("The selected {0} has a rotate angle of {1}", obj.GetType().ToString(), angle); MessageBox.Show(s); }
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