Version

LineTo Method (Graphics)

Draws a line form the current point. A shape has to be started for this method to work.
Syntax
'Declaration
 
Public Sub LineTo( _
   ByVal x As Single, _
   ByVal y As Single _
) 
public void LineTo( 
   float x,
   float y
)

Parameters

x
X-coordinate of the specified position.
y
Y-coordinate of the specified position.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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