|
Draws a line at specified coords
Syntax
Public Sub DrawLineCoords (ByVal lHdc As Long, _ ByVal X1 As Long, _ ByVal y1 As Long, _ ByVal X2 As Long, _ ByVal y2 As Long, _ ByVal lForeColor As Long, _ Optional ByVal iLineWidth As Integer = 1, _ Optional ByVal PsPen As eCtlLineStyle = CTL_PS_SOLID)
Parameters
Parameter |
Description |
ByVal lHdc As Long |
The destination Device Context |
ByVal X1 As Long |
Specifies the x-coordinate of the rectangle's upper-left corner. |
ByVal y1 As Long |
Specifies the y-coordinate of the rectangle's upper-left corner. |
ByVal X2 As Long |
Specifies the x-coordinate of the rectangle's lower-right corner. |
ByVal y2 As Long |
Specifies the y-coordinate of the rectangle's lower-right corner. |
ByVal lForeColor As Long |
The foreground color |
Optional ByVal iLineWidth As Integer = 1 |
The width of the line in pixels |
Optional ByVal PsPen As eCtlLineStyle = CTL_PS_SOLID |
A combination of pen flags |
|