Leadtools.Annotations Namespace > AnnObject Class : GetArea Method |
public float GetArea()
'Declaration Public Function GetArea() As Single
public float GetArea()
function Leadtools.Annotations.AnnObject.GetArea()
public: float GetArea();
Public Sub AnnObject_GetArea() Dim annRectangleObject As AnnRectangleObject = New AnnRectangleObject() annRectangleObject.Bounds = New AnnRectangle(0, 0, 100, 100) Dim s As String = String.Format("Area of Rectangle: {0}", annRectangleObject.GetArea().ToString()) MessageBox.Show(s) End Sub
public void AnnObject_GetArea() { AnnRectangleObject annRectangleObject = new AnnRectangleObject(); annRectangleObject.Bounds = new AnnRectangle(0, 0, 100, 100); string s = String.Format("Area of Rectangle: {0}", annRectangleObject.GetArea().ToString()); 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