# GrapeCity.Documents.Imaging.GrayscaleEffect

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_GrayscaleEffect" data-uid="GrapeCity.Documents.Imaging.GrayscaleEffect" class="text-break">GrayscaleEffect Class
</h1>
  <div class="markdown level0 summary"><p>In-place effect that converts an image to monochromatic gray.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Imaging.BaseInplaceEffect.html">BaseInplaceEffect</a></div>
    <div class="level2"><span class="xref">GrayscaleEffect</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.html">GrapeCity.Documents.Imaging</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_GrayscaleEffect_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GrayscaleEffect : BaseInplaceEffect</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GrayscaleEffect
    Inherits BaseInplaceEffect</code></pre>
  </div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="GrapeCity.Documents.Imaging.GrayscaleEffect.Apply(GrapeCity.Documents.Imaging.GcBitmap)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleEffect.Apply.html#GrapeCity_Documents_Imaging_GrayscaleEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_">Apply(GcBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the effect to the specified <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.GrayscaleEffect.Apply(GrapeCity.Documents.Imaging.GcBitmap,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleEffect.Apply.html#GrapeCity_Documents_Imaging_GrayscaleEffect_Apply_GrapeCity_Documents_Imaging_GcBitmap_System_Int32_System_Int32_System_Int32_System_Int32_">Apply(GcBitmap, int, int, int, int)</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleEffect_Get_GrapeCity_Documents_Imaging_GrayscaleStandard_" data-uid="GrapeCity.Documents.Imaging.GrayscaleEffect.Get(GrapeCity.Documents.Imaging.GrayscaleStandard)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleEffect.Get.html#GrapeCity_Documents_Imaging_GrayscaleEffect_Get_GrapeCity_Documents_Imaging_GrayscaleStandard_">Get(GrayscaleStandard)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an instance of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleEffect.html">GrayscaleEffect</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
