Unicode Controls & Classes for VB6 - Version 4

clsGpGraphics.DrawLine Function

Draws a line that connects two points

Syntax
Public Function DrawLine (ByRef oPn As clsGpPen, _
ByVal X1 As Single, _
ByVal y1 As Single, _
ByVal X2 As Single, _
ByVal y2 As Single) As GpStatus
Parameters
Parameter Description
ByRef oPn As clsGpPen The Pen to use
ByVal X1 As Single The X1 coordinate
ByVal y1 As Single The Y1 coordinate
ByVal X2 As Single The X2 coordinate
ByVal y2 As Single The Y2 coordinate
Remarks