Table of Contents

Method AddPolyline

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

AddPolyline(object, bool, object)

Adds a new vdPolyline in the document.

public object AddPolyline(object vertexes, bool drawit, object entities)

Parameters

vertexes object

An array of vertexes that define the polyline.Each item is an array of x,y,z,bulge

drawit bool

Defines if the vdPolyline object will be drawn.

entities object

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

Returns

object

The vdPolyline object created.

Remarks

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