ComponentOne PDF for .NET
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.

In This Topic
    DrawPolygon Method (C1PdfDocument)
    In This Topic
    Draws a polygon defined by an array of point structures.
    Syntax
    'Declaration
     
    
    Public Sub DrawPolygon( _
       ByVal pen As Pen, _
       ByVal points() As PointF _
    ) 
    public void DrawPolygon( 
       Pen pen,
       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