GoDiagram Win Reference
DrawRectangle(Pen,Brush,Single,Single,Single,Single) Method

The pen with which to draw the rectangle
The brush with which to draw the rectangle
The x coordinate of the top left corner of the rectangle
The y coordinate of the top left corner of the rectangle
The width of the rectangle
The height of the rectangle
Draws a rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawRectangle( _
   ByVal pen As Pen, _
   ByVal brush As Brush, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal w As Single, _
   ByVal h As Single _
) 
public void DrawRectangle( 
   Pen pen,
   Brush brush,
   float x,
   float y,
   float w,
   float h
)

Parameters

pen
The pen with which to draw the rectangle
brush
The brush with which to draw the rectangle
x
The x coordinate of the top left corner of the rectangle
y
The y coordinate of the top left corner of the rectangle
w
The width of the rectangle
h
The height of the rectangle
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