←Select platform

GetArea Method

Summary

Returns the pixel count of this AnnObject.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual double GetArea()
Public Overridable Function GetArea() As Double
public virtual double GetArea()
-(double)getArea;
public double getArea()
function Leadtools.Annotations.Core.AnnObject.GetArea()

Remarks

The default implementation of this method is to return the area defined by the polygon generated from all the points inside this object. This implementation is correct for rectangular, circular and polyline and polygon objects. Derived objects can override GetArea to provide their own implementation using a custom algorithm.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize