Method AddEllipse
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
AddEllipse(object, double, double, double, double, double, bool, object)
Adds a new vdEllipse object in the document.
public object AddEllipse(object center, double MajLen, double MinLen, double MajAngle, double SAngle, double EAngle, bool drawit, object entities)
Parameters
centerobjectThe ellipse's center.
MajLendoubleThe ellipse's major length in drawin units.
MinLendoubleThe ellipse's minor length in drawin units.
MajAngledoubleThe ellipse's rotation angle.
SAngledoubleThe angle at which the ellipse start drawing its periphery.
EAngledoubleThe angle at which the ellipse stops drawing its periphery
drawitboolDefines if the vdEllipse object will be drawn.
entitiesobjectThe entities collection where the ellipse will be added. This can be the entities of layout or a block.
Returns
- object
The vdEllipse object created.
Remarks
You can create new points by using the newpoint(double, double, double) method. Attention, the source .vds file is not modified.