%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
GetEntityArea Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : GetEntityArea Method
entity
The vdCurve object whose area is to be calculated.
Calculates the area of the given vdCurve object. The supported objects are vdPolyline, vdRect, vdCircle and vdEllipse.

Syntax

JScript 
public function GetEntityArea( 
   entity : Object
) : double;

Parameters

entity
The vdCurve object whose area is to be calculated.

Return Value

Returns the calculated area or -1 if the given entity is not supported.

See Also