|
Description
|
Draws a line on the control.
|
|
Syntax
|
[form.]DXFReader.DrawLine (X1 As Single, Y1 As Single, X2 As Single, Y2 As Single, [Color As Long])
|
|
Remarks
|
This method add a line to the drawing without modifing the drawing database.
The parameters for the DrawLine method are described below:
| X1 | X coordinate, in drawing's units, of the start point of the line | | Y1 | Y coordinate, in drawing's units, of the start point of the line | | X2 | X coordinate, in drawing's units, of the end point of the line | | Y2 | Y coordinate, in drawing's units, of the end point of the line | | Color | (Optional) A long integer value indicating the RGB color used to draw the line. If omitted, the ForeColor property setting is used (Default value = 0) |
|