Draw_Line
MethodDraw_Line (Method)
Draws a straight line segment without including it in the current drawing
Syntax:
Sub Draw_Line(x1 As Single, y1 As Single, x2 As Single, y2 As Single, iClr As Short, iWidth As Short, iStyle As Short)
The Draw_Line method syntax consists of the following:
Parameter |
Data Type |
Description |
x1 |
Single |
The x coordinate of the start point of the line segment |
y1 |
Single |
The y coordinate of the start point of the line segment |
x2 |
Single |
The x coordinate of the end point of the line segment |
y2 |
Single |
The y coordinate of the end point of the line segment |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |