Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Annotations Namespace / RedactAnnotation Class / AddPolygon Method
The array of points that specify the vertices of the polygon.
The fill mode.

In This Topic
    AddPolygon Method
    In This Topic
    Tessellates a polygon specified by its vertices into triangles, and adds those triangles to this annotation's Area.
    Syntax
    'Declaration
     
    Public Sub AddPolygon( _
       ByVal points() As System.Drawing.PointF, _
       Optional ByVal fillMode As FillMode _
    ) 
    public void AddPolygon( 
       System.Drawing.PointF[] points,
       FillMode fillMode
    )

    Parameters

    points
    The array of points that specify the vertices of the polygon.
    fillMode
    The fill mode.
    See Also