# C1.C1Word.C1WordDocument.FillPolygon

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Word_C1WordDocument_FillPolygon_" data-uid="C1.C1Word.C1WordDocument.FillPolygon*">FillPolygon Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Word_C1WordDocument_FillPolygon_" data-uid="C1.C1Word.C1WordDocument.FillPolygon*"></a>
<h4 id="C1_C1Word_C1WordDocument_FillPolygon_System_Drawing_Color_System_Drawing_PointF___System_Drawing_Drawing2D_FillMode_" data-uid="C1.C1Word.C1WordDocument.FillPolygon(System.Drawing.Color,System.Drawing.PointF[],System.Drawing.Drawing2D.FillMode)">FillPolygon(Color, PointF[], FillMode)</h4>
<div class="markdown level1 summary"><p>Fill polygon from this document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillPolygon(Color clr, PointF[] points, FillMode fillMode = FillMode.Alternate)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillPolygon(clr As Color, points As PointF(), Optional fillMode As FillMode = FillMode.Alternate)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">clr</span></td>
      <td><p>The drawing color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a>[]</td>
      <td><span class="parametername">points</span></td>
      <td><p>The array of the points for the polygon.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.fillmode">FillMode</a></td>
      <td><span class="parametername">fillMode</span></td>
      <td><p><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.drawing2d.fillmode">FillMode</a> parameter that determines how to handle overlapping areas within the polygon.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
