getArea Method

Summary

Returns the pixel count of this AnnObject.

Syntax
TypeScript
JavaScript
AnnObject.prototype.getArea = function() 
getArea(): number; 

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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly