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
)
Public Sub DrawLine (
Pen As Pen,
StartPoint As Vector2,
EndPoint As Vector2,
Optional Store As Boolean = false
)
public:
void DrawLine(
Pen^ Pen,
Vector2 StartPoint,
Vector2 EndPoint,
bool Store = false
)
member DrawLine :
Pen : Pen *
StartPoint : Vector2 *
EndPoint : Vector2 *
?Store : bool
(* Defaults:
let _Store = defaultArg Store false
*)
-> unit
METHOD DrawLine(
Pen AS Pen,
StartPoint AS Vector2,
EndPoint AS Vector2,
Store AS LOGIC := FALSE
) AS VOID
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