# GrapeCity.Documents.Imaging.BilevelBitmap.Clear

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_BilevelBitmap_Clear_" data-uid="GrapeCity.Documents.Imaging.BilevelBitmap.Clear*">Clear Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_BilevelBitmap_Clear_" data-uid="GrapeCity.Documents.Imaging.BilevelBitmap.Clear*"></a>
<h4 id="GrapeCity_Documents_Imaging_BilevelBitmap_Clear_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.BilevelBitmap.Clear(System.Boolean)">Clear(bool)</h4>
<div class="markdown level1 summary"><p>Clears the <a class="xref" href="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a> with the specified value (true is 1, false is 0).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Clear(bool value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Clear(value As Boolean)</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.boolean">bool</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value to fill the image (true is 1, false is 0).</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Imaging_BilevelBitmap_Clear_" data-uid="GrapeCity.Documents.Imaging.BilevelBitmap.Clear*"></a>
<h4 id="GrapeCity_Documents_Imaging_BilevelBitmap_Clear_System_Boolean_System_Drawing_Rectangle_" data-uid="GrapeCity.Documents.Imaging.BilevelBitmap.Clear(System.Boolean,System.Drawing.Rectangle)">Clear(bool, Rectangle)</h4>
<div class="markdown level1 summary"><p>Clears the <a class="xref" href="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a> with the specified value (true is 1, false is 0).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Clear(bool value, Rectangle rect)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Clear(value As Boolean, rect As Rectangle)</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.boolean">bool</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The value to fill the image (true is 1, false is 0).</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">rect</span></td>
      <td><p>The target rectangle of the <a class="xref" href="GrapeCity.Documents.Imaging.BilevelBitmap.html">BilevelBitmap</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
