getAreaInPixels Method

Summary

Returns the pixel count of this AnnRectangleObject.

Syntax
TypeScript
JavaScript
AnnRectangleObject.prototype.getAreaInPixels = function( 
   mapper 
) 
getAreaInPixels( 
   mapper: AnnContainerMapper 
): number; 

Parameters

mapper

The mapper to use in this container when converting display, container and image coordinates.

Return Value

The pixel count of this AnnRectangleObject.

Remarks

You can use a custom algorithm to calculate the pixel count of AnnRectangleObject by overriding this method.

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