Accusoft.PrintPro8.Net
Rectangle(Point,Point,Color,Boolean) Method




A System.Drawing.PointF which represents the coordinate of the starting point for the rectangle.
A System.Drawing.PointF which represents the coordinate of the end point for the rectangle being drawn.
A System.Drawing.Color which represents the color used to draw the rectangle.
A boolean value which when true, the Color parameter is used to fill the rectangle and the FillColor and FillStyle properties are ignored.
Draws a rectangle on a printer.
Syntax
'Declaration
 
Public Overloads Sub Rectangle( _
   ByVal startPoint As Point, _
   ByVal endPoint As Point, _
   ByVal color As Color, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As Point
Dim endPoint As Point
Dim color As Color
Dim fill As Boolean
 
instance.Rectangle(startPoint, endPoint, color, fill)
public void Rectangle( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool fill
)
public: void Rectangle( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool fill
) 
public:
void Rectangle( 
   Point startPoint,
   Point endPoint,
   Color color,
   bool fill
) 

Parameters

startPoint
A System.Drawing.PointF which represents the coordinate of the starting point for the rectangle.
endPoint
A System.Drawing.PointF which represents the coordinate of the end point for the rectangle being drawn.
color
A System.Drawing.Color which represents the color used to draw the rectangle.
fill
A boolean value which when true, the Color parameter is used to fill the rectangle and the FillColor and FillStyle properties are ignored.
See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback