# C1.WPF.Word.C1WordDocument.FillPath

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Word_C1WordDocument_FillPath_" data-uid="C1.WPF.Word.C1WordDocument.FillPath*">FillPath Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Word_C1WordDocument_FillPath_" data-uid="C1.WPF.Word.C1WordDocument.FillPath*"></a>
<h4 id="C1_WPF_Word_C1WordDocument_FillPath_System_Windows_Media_Color_System_Windows_Point___System_Byte___System_Boolean_" data-uid="C1.WPF.Word.C1WordDocument.FillPath(System.Windows.Media.Color,System.Windows.Point[],System.Byte[],System.Boolean)">FillPath(Color, Point[], byte[], bool)</h4>
<div class="markdown level1 summary"><p>Fills a path defined by points and types.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillPath(Color clr, Point[] points, byte[] types, bool winding)</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.windows.media.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.windows.point">Point</a>[]</td>
      <td><span class="parametername">points</span></td>
      <td><p>The path points to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">types</span></td>
      <td><p>The path types to fill.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">winding</span></td>
      <td><p>The winding fill mode flag to draw, by default alternate fill mode.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
