GoDiagram Win Reference
DrawLine(Pen,Single,Single,Single,Single) Method

The pen with which the line is drawn
The x coordinate of the first endpoint
The y coordinate of the first endpoint
The x coordinate of the second endpoint
The y coordinate of the second endpoint
Draws a line.
Syntax
'Declaration
 
Public Overloads Sub DrawLine( _
   ByVal pen As Pen, _
   ByVal x1 As Single, _
   ByVal y1 As Single, _
   ByVal x2 As Single, _
   ByVal y2 As Single _
) 
public void DrawLine( 
   Pen pen,
   float x1,
   float y1,
   float x2,
   float y2
)

Parameters

pen
The pen with which the line is drawn
x1
The x coordinate of the first endpoint
y1
The y coordinate of the first endpoint
x2
The x coordinate of the second endpoint
y2
The y coordinate of the second endpoint
Requirements

Target Platforms: 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

Reference

GoPdfGenerator Class
GoPdfGenerator Members
Overload List

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback