Accusoft.PrintProSdk Namespace > Draw Class > Polygon Method : Polygon(Point[]) Method |
public: void Polygon( array<Point>^ points )
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