# GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion*">FillRegion Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion*"></a>
<h4 id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_GrapeCity_Documents_Imaging_Region_System_Drawing_Color_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion(GrapeCity.Documents.Imaging.Region,System.Drawing.Color)">FillRegion(Region, Color)</h4>
<div class="markdown level1 summary"><p>Fills a <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> with a solid color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillRegion(Region region, Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillRegion(region As Region, 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><a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><span class="parametername">region</span></td>
      <td></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></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion*"></a>
<h4 id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_GrapeCity_Documents_Imaging_Region_System_UInt32_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion(GrapeCity.Documents.Imaging.Region,System.UInt32)">FillRegion(Region, uint)</h4>
<div class="markdown level1 summary"><p>Fills a <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> with a solid color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillRegion(Region region, uint color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillRegion(region As Region, color As UInteger)</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="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><span class="parametername">region</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
      <td><span class="parametername">color</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion*"></a>
<h4 id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_GrapeCity_Documents_Imaging_Region_GrapeCity_Documents_Drawing_Brush_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion(GrapeCity.Documents.Imaging.Region,GrapeCity.Documents.Drawing.Brush)">FillRegion(Region, Brush)</h4>
<div class="markdown level1 summary"><p>Fills a <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> with the given brush.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillRegion(Region region, Brush brush)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillRegion(region As Region, brush As Brush)</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="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><span class="parametername">region</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Drawing.Brush.html">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion*"></a>
<h4 id="GrapeCity_Documents_Imaging_BitmapRenderer_FillRegion_GrapeCity_Documents_Imaging_Region_GrapeCity_Documents_Drawing_Brush_System_Drawing_RectangleF_" data-uid="GrapeCity.Documents.Imaging.BitmapRenderer.FillRegion(GrapeCity.Documents.Imaging.Region,GrapeCity.Documents.Drawing.Brush,System.Drawing.RectangleF)">FillRegion(Region, Brush, RectangleF)</h4>
<div class="markdown level1 summary"><p>Fills a <a class="xref" href="GrapeCity.Documents.Imaging.Region.html">Region</a> with the given brush.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillRegion(Region region, Brush brush, RectangleF brushBounds)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillRegion(region As Region, brush As Brush, brushBounds As RectangleF)</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="GrapeCity.Documents.Imaging.Region.html">Region</a></td>
      <td><span class="parametername">region</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Drawing.Brush.html">Brush</a></td>
      <td><span class="parametername">brush</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">brushBounds</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
