Table of Contents

Method AddRect

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddRect(object, object, bool, object)

Adds a new vdRect in the document.

public object AddRect(object point1, object point2, bool drawit, object entities)

Parameters

point1 object

The first point of the vdRect.

point2 object

The second point of the vdRect.

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.