%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
AddPolyline Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : AddPolyline Method
vertexes
An array of vertexes that define the polyline.Each item is an array of x,y,z,bulge
drawit
Defines if the vdPolyline object will be drawn.
entities
The entities collection where the polyline will be added. This can be the entities of layout or a block.
Adds a new vdPolyline in the document.

Syntax

JScript 
public function AddPolyline( 
   vertexes : Object,
   drawit : boolean,
   entities : Object
) : Object;

Parameters

vertexes
An array of vertexes that define the polyline.Each item is an array of x,y,z,bulge
drawit
Defines if the vdPolyline object will be drawn.
entities
The entities collection where the polyline will be added. This can be the entities of layout or a block.

Return Value

The vdPolyline object created.

Remarks

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

See Also