Table of Contents

Method AddLine

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddLine(object, object, bool, object)

Adds a new vdLine in the document.

public object AddLine(object startpoint, object endpoint, bool drawit, object entities)

Parameters

startpoint object

The line's startpoint.

endpoint object

The line's endpoint.

drawit bool

Defines if the vdLine object will be drawn.

entities object

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

Returns

object

The object created.

Remarks

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