Click or drag to resize

DXFReaderNETControlAddArc Method (Vector3, Double, Vector3, Vector3, Int16, String, String)

Adds a new arc to the current drawing specifing center point, radius, start point and end point.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public EntityObject AddArc(
	Vector3 Center,
	double Radius,
	Vector3 StartPoint,
	Vector3 EndPoint,
	short ACIColor = 256,
	string LayerName = "",
	string LineTypeName = ""
)

Parameters

Center
Type: DXFReaderNETVector3
The center of the arc.
Radius
Type: SystemDouble
The radius of the arc in drawing's units.
StartPoint
Type: DXFReaderNETVector3
The start point of the arc.
EndPoint
Type: DXFReaderNETVector3
The end point of the arc.
ACIColor (Optional)
Type: SystemInt16
A number for 0 to 256 corresponding to the AutoCAD Color Index (0 = ByBlock; 256 = ByLayer. Default value = 256).
LayerName (Optional)
Type: SystemString
The layer name. If omitted, or layername doesn't exist, the CurrentLayer will be used.
LineTypeName (Optional)
Type: SystemString
The layer name. If omitted, or layername doesn't exist, , or layername doesn't exist, the CurrentLineTypeName will be used.

Return Value

Type: EntityObject
The new added Arc.
See Also