VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Pdf.Drawing Namespace / PdfGraphics Class / DrawPolygon Method
PdfPen that determines the color, width, and style of the polygon.
Array of System.Drawing.PointF structures that represent the vertices of the polygon.



In This Topic
    DrawPolygon Method
    In This Topic
    Draws a polygon defined by an array of System.Drawing.PointF structures.
    Syntax
    'Declaration
     
    Public Sub DrawPolygon( _
       ByVal pen As PdfPen, _
       ByVal points() As PointF _
    ) 
    public void DrawPolygon( 
       PdfPen pen,
       PointF[] points
    )
    public: void DrawPolygon( 
       PdfPen* pen,
       PointF[]* points
    ) 
    public:
    void DrawPolygon( 
       PdfPen^ pen,
       array<PointF>^ points
    ) 

    Parameters

    pen
    PdfPen that determines the color, width, and style of the polygon.
    points
    Array of System.Drawing.PointF structures that represent the vertices of the polygon.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also