# GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_BradleyThresholdingEffect_Apply_" data-uid="GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply*">Apply Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_BradleyThresholdingEffect_Apply_" data-uid="GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply*"></a>
<h4 id="GrapeCity_Documents_Imaging_BradleyThresholdingEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply(GrapeCity.Documents.Imaging.GcBitmap)">Apply(GcBitmap)</h4>
<div class="markdown level1 summary"><p>Applies the effect to the specified <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void Apply(GcBitmap bitmap)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub Apply(bitmap As GcBitmap)</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.GcBitmap.html">GcBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Documents.Imaging.BaseInplaceEffect.Apply.html#GrapeCity_Documents_Imaging_BaseInplaceEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_">BaseInplaceEffect.Apply(GcBitmap)</a></div>


<a id="GrapeCity_Documents_Imaging_BradleyThresholdingEffect_Apply_" data-uid="GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply*"></a>
<h4 id="GrapeCity_Documents_Imaging_BradleyThresholdingEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.BradleyThresholdingEffect.Apply(GrapeCity.Documents.Imaging.GcBitmap,System.Int32,System.Int32,System.Int32,System.Int32)">Apply(GcBitmap, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Applies the effect to a part of the specified <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void Apply(GcBitmap bitmap, int x, int y, int width, int height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub Apply(bitmap As GcBitmap, x As Integer, y As Integer, width As Integer, height As Integer)</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.GcBitmap.html">GcBitmap</a></td>
      <td><span class="parametername">bitmap</span></td>
      <td><p>The target <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The x-coordinate of the target rectangle, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The y-coordinate of the target rectangle, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The width of the target rectangle, in pixels.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The height of the target rectangle, in pixels.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Documents.Imaging.BaseInplaceEffect.Apply.html#GrapeCity_Documents_Imaging_BaseInplaceEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_System_Int32_System_Int32_System_Int32_System_Int32_">BaseInplaceEffect.Apply(GcBitmap, int, int, int, int)</a></div>
</div>
