Click or drag to resize

DXFReaderNETControlDrawLine Method

Draws a line on the control.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void DrawLine(
	Pen Pen,
	Vector2 StartPoint,
	Vector2 EndPoint,
	bool Store = false
)

Parameters

Pen
Type: System.DrawingPen
The pen object to render the element
StartPoint
Type: DXFReaderNETVector2
Start point of the line in drawing's units.
EndPoint
Type: DXFReaderNETVector2
End point of the line in drawing's units.
Store (Optional)
Type: SystemBoolean
If set to true the element is drawn again after e refresh.
Remarks
This method adds a line to the drawing without modifying the drawing database.
See Also