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




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 starting at the current draw location.
Syntax
'Declaration
 
Public Overloads Sub Rectangle( _
   ByVal endPoint As PointF, _
   ByVal color As Color, _
   ByVal fill As Boolean _
) 
'Usage
 
Dim instance As Draw
Dim endPoint As PointF
Dim color As Color
Dim fill As Boolean
 
instance.Rectangle(endPoint, color, fill)
public void Rectangle( 
   PointF endPoint,
   Color color,
   bool fill
)
public: void Rectangle( 
   PointF endPoint,
   Color color,
   bool fill
) 
public:
void Rectangle( 
   PointF endPoint,
   Color color,
   bool fill
) 

Parameters

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