Version

DrawLine Method (IGraphics)

Draws a line.
Syntax
'Declaration
 
Sub DrawLine( _
   ByVal x1 As System.Single, _
   ByVal y1 As System.Single, _
   ByVal x2 As System.Single, _
   ByVal y2 As System.Single _
) 
void DrawLine( 
   System.float x1,
   System.float y1,
   System.float x2,
   System.float y2
)

Parameters

x1
X-coordinate of the start point.
y1
Y-coordinate of the start point.
x2
X-coordinate of the end point.
y2
Y-coordinate of the end point.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub