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
vertexesobjectAn array of vertexes that define the polyline.Each item is an array of x,y,z,bulge
drawitboolDefines if the vdPolyline object will be drawn.
entitiesobjectThe 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.