Table of Contents

Method AddRect2

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddRect2(object, double, double, double, bool, object)

Adds a new vdRect in the document.

public object AddRect2(object insertion, double width, double height, double rotation, bool drawit, object entities)

Parameters

insertion object

The insertion point of the vdRect.

width double

The width of the vdRect.

height double

The height of the vdRect.

rotation double

The rotation of the vdRect in radians.

drawit bool

Defines if the vdPolyline object will be drawn right after inserted or it will be drawn next time the whole document is redrawn.

entities object

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

Returns

object

The vdRect object created.

Remarks

Attention, the source .vds file is not modified.