# C1.Util.XLPath.Fill

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_XLPath_Fill_" data-uid="C1.Util.XLPath.Fill*">Fill Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_XLPath_Fill_" data-uid="C1.Util.XLPath.Fill*"></a>
<h4 id="C1_Util_XLPath_Fill_GrapeCity_Documents_Drawing_GcGraphics_System_Drawing_Color_" data-uid="C1.Util.XLPath.Fill(GrapeCity.Documents.Drawing.GcGraphics,System.Drawing.Color)">Fill(GcGraphics, Color)</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">[CLSCompliant(false)]
public void Fill(GcGraphics graphics, Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Public Sub Fill(graphics As GcGraphics, color As Color)</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><span class="xref">GcGraphics</span></td>
      <td><span class="parametername">graphics</span></td>
      <td><p>The graphics for drawing and filling.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> used to fill the path.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
