←Select platform

GetArea Method

Summary

Returns the pixel count of this AnnObject.

Syntax

C#
VB
Java
Objective-C
WinRT C#
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() 
public:  
   virtual double 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 method is valid for closed shape annotation objects such as rectangular, elliptical, and polygonal annotations on bitmaps. Derived objects can override GetArea to provide their own implementation using a custom algorithm.

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly