Accusoft.PrintPro8.Net
Polygon(Point[],Color) Method




A System.Drawing.Point value which represents the coordinates for a polygon.
The System.Drawing.Color of the polygon’s outline.
Draws a 3-6 sided polygon on a printer.
Syntax
'Declaration
 
Public Overloads Sub Polygon( _
   ByVal points() As Point, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As Draw
Dim points() As Point
Dim color As Color
 
instance.Polygon(points, color)
public void Polygon( 
   Point[] points,
   Color color
)
public: void Polygon( 
   Point[]* points,
   Color color
) 
public:
void Polygon( 
   array<Point>^ points,
   Color color
) 

Parameters

points
A System.Drawing.Point value which represents the coordinates for a polygon.
color
The System.Drawing.Color of the polygon’s outline.
Remarks

The coordinates of the polygon must be within the physical area of the printer. To fill a polygon, set the FillColor and FillStyle properties of the object on which the polygon is drawn. Specify as many coordinates as needed to define the polygon (3 for a triangle, 4 for a square, etc.) The width of the line used to draw the rectangle depends on the setting of the Width property. The way the rectangle is drawn on the background depends on the setting of the Mode and Style properties

See Also

Reference

Draw Class
Draw Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback