Accusoft.PrintPro8.Net
Rectangle(PointF,PointF,Color,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.
The System.Drawing.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 PointF, _
   ByVal endPoint As PointF, _
   ByVal color As Color, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim startPoint As PointF
Dim endPoint As PointF
Dim color As Color
Dim fill As Boolean
 
instance.Rectangle(startPoint, endPoint, color, fill)
public void Rectangle( 
   PointF startPoint,
   PointF endPoint,
   Color color,
   bool fill
)
public: void Rectangle( 
   PointF startPoint,
   PointF endPoint,
   Color color,
   bool fill
) 
public:
void Rectangle( 
   PointF startPoint,
   PointF endPoint,
   Color color,
   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.
color
The System.Drawing.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

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback