Table of Contents

Method AddEllipse

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddEllipse(object, double, double, double, double, double, bool, object)

Adds a new vdEllipse object in the document.

public object AddEllipse(object center, double MajLen, double MinLen, double MajAngle, double SAngle, double EAngle, bool drawit, object entities)

Parameters

center object

The ellipse's center.

MajLen double

The ellipse's major length in drawin units.

MinLen double

The ellipse's minor length in drawin units.

MajAngle double

The ellipse's rotation angle.

SAngle double

The angle at which the ellipse start drawing its periphery.

EAngle double

The angle at which the ellipse stops drawing its periphery

drawit bool

Defines if the vdEllipse object will be drawn.

entities object

The entities collection where the ellipse will be added. This can be the entities of layout or a block.

Returns

object

The vdEllipse object created.

Remarks

You can create new points by using the newpoint(double, double, double) method. Attention, the source .vds file is not modified.