Table of Contents

Method GetEntityArea

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

GetEntityArea(object)

Calculates the area of the given vdCurve object. The supported objects are vdPolyline, vdRect, vdCircle and vdEllipse.

public double GetEntityArea(object entity)

Parameters

entity object

The vdCurve object whose area is to be calculated.

Returns

double

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