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




A System.Drawing.Point which represents the coordinate of the starting point for the rectangle.
A System.Drawing.Point which represents the coordinate of the end point for the rectangle being drawn.
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 black rectangle on a printer.
Syntax
'Declaration
 
Public Overloads Sub Rectangle( _
   ByVal startPoint As Point, _
   ByVal endPoint As Point, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As Point
Dim endPoint As Point
Dim fill As Boolean
 
instance.Rectangle(startPoint, endPoint, fill)
public void Rectangle( 
   Point startPoint,
   Point endPoint,
   bool fill
)
public: void Rectangle( 
   Point startPoint,
   Point endPoint,
   bool fill
) 
public:
void Rectangle( 
   Point startPoint,
   Point endPoint,
   bool fill
) 

Parameters

startPoint
A System.Drawing.Point which represents the coordinate of the starting point for the rectangle.
endPoint
A System.Drawing.Point which represents the coordinate of the end point for the rectangle being drawn.
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