Method AddArc
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
AddArc(object, double, double, bool, object)
Adds a new vdArc in the document.
public object AddArc(object center, double startAngle, double endAngle, bool drawit, object entities)
Parameters
centerobjectThe arc's center.
startAngledoubleThe angle where the arc will start drawing it's periphery.
endAngledoubleThe angle where the arc will stop drawing it's periphery.
drawitboolDefines if the vdArc object will be drawn.
entitiesobjectThe entities collection where the arc will be added. This can be the entities of layout or a block.
Returns
- object
The vdArc object created.
Remarks
You can create new points by using the newpoint(double, double, double) method. Attention, the source .vds file is not modified.