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
startpointobjectThe line's startpoint.
endpointobjectThe line's endpoint.
drawitboolDefines if the vdLine object will be drawn.
entitiesobjectThe 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.