ComponentOne PDF for .NET
DrawPolygon Method

C1.C1Pdf.4 Assembly > C1.C1Pdf Namespace > C1PdfDocument Class : DrawPolygon Method
System.Drawing.Pen object that determines the color, width, and style of the polygon.
Array of point structures that represent the vertices of the polygon.
Draws a polygon defined by an array of point structures.
Syntax
'Declaration
 
Public Sub DrawPolygon( _
   ByVal pen As System.Drawing.Pen, _
   ByVal points() As System.Drawing.PointF _
) 
public void DrawPolygon( 
   System.Drawing.Pen pen,
   System.Drawing.PointF[] points
)

Parameters

pen
System.Drawing.Pen object that determines the color, width, and style of the polygon.
points
Array of point structures that represent the vertices of the polygon.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.
See Also

Reference

C1PdfDocument Class
C1PdfDocument Members