getAreaInPixels Method

Summary

Returns the pixel count of this AnnRectangleObject.

Syntax

JavaScript Syntax
AnnRectangleObject.prototype.getAreaInPixels = function( 
   mapper 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly