DXFReaderNETControlDrawLine Method
|
Draws a line on the control.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic 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.
RemarksThis method adds a line to the drawing without modifying the drawing database. Can be used for for temporary visualizations, such as highlighting or previewing elements, without making permanent changes to the DXF data.
See Also