# GrapeCity.Documents.Imaging.GrayscaleBitmap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_GrayscaleBitmap" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap" class="text-break">GrayscaleBitmap Class
</h1>
  <div class="markdown level0 summary"><p>Represents a grayscale image or transparency mask with 8 bits per pixel.</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"><span class="xref">GrayscaleBitmap</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Drawing.IImage.html">IImage</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></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_GrayscaleBitmap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GrayscaleBitmap : IImage, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GrayscaleBitmap
    Implements IImage, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_GrayscaleBitmap__ctor_System_Byte___System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.#ctor(System.Byte[],System.Int32,System.Int32,System.Boolean,System.Boolean,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.-ctor.html#GrapeCity_Documents_Imaging_GrayscaleBitmap__ctor_System_Byte___System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">GrayscaleBitmap(byte[], int, int, bool, bool, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> class and sets the existing pixel data to be read/modified in-place.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap__ctor_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.#ctor(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.-ctor.html#GrapeCity_Documents_Imaging_GrayscaleBitmap__ctor_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">GrayscaleBitmap(int, int, bool, bool, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap__ctor_System_IntPtr_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.#ctor(System.IntPtr,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.-ctor.html#GrapeCity_Documents_Imaging_GrayscaleBitmap__ctor_System_IntPtr_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">GrayscaleBitmap(IntPtr, int, int, bool, bool, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> class and sets the existing pixel data to be read/modified in-place.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_GrayscaleBitmap_DpiX" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.DpiX">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.DpiX.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_DpiX">DpiX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the horizontal dpi of the bitmap.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_DpiY" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.DpiY">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.DpiY.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_DpiY">DpiY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the vertical dpi of the bitmap.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ExifProfile" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ExifProfile">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ExifProfile.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ExifProfile">ExifProfile</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an instance of <a class="xref" href="GrapeCity.Documents.Imaging.Exif.ExifProfile.html">ExifProfile</a> with Exif metadata of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_IccProfileData" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.IccProfileData">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.IccProfileData.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_IccProfileData">IccProfileData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the raw ICC profile data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_IsDisposed" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.IsDisposed">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.IsDisposed.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> has been disposed of.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Item_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Item(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Item.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Item_System_Int32_System_Int32_">this[int, int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a pixel value (from 0 to 255) at the specified coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_PixelHeight" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.PixelHeight">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.PixelHeight.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_PixelHeight">PixelHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the pixel height of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_PixelWidth" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.PixelWidth">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.PixelWidth.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_PixelWidth">PixelWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the pixel width of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_RawData" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.RawData">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.RawData.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_RawData">RawData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a pointer to the internal binary data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Rotation" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Rotation">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Rotation.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the flip and rotate transformations that must be applied to the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_TransparencyMask" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.TransparencyMask">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.TransparencyMask.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_TransparencyMask">TransparencyMask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the image is used to define an irregularly shaped region of another image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_WhiteIsZero" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.WhiteIsZero">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.WhiteIsZero.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_WhiteIsZero">WhiteIsZero</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value specifying whether 0 represents white and 255 represents black (if true) or vice versa (if false).</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_GrayscaleBitmap_AdjustLevels_System_Int32_System_Int32_System_Int32_System_Int32_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.AdjustLevels(System.Int32,System.Int32,System.Int32,System.Int32,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.AdjustLevels.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_AdjustLevels_System_Int32_System_Int32_System_Int32_System_Int32_System_Single_">AdjustLevels(int, int, int, int, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Adjusts the levels of an image histogram.</p>
<p>The method maps the input range of values (blackPoint..whitePoint) to the output
range (outputBlack..outputWhite) using the specified gamma correction (midtone).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGaussianBlur_System_Byte_System_Int32_GrapeCity_Documents_Imaging_GaussianBlurBorderMode_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGaussianBlur(System.Byte,System.Int32,GrapeCity.Documents.Imaging.GaussianBlurBorderMode)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGaussianBlur.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGaussianBlur_System_Byte_System_Int32_GrapeCity_Documents_Imaging_GaussianBlurBorderMode_">ApplyGaussianBlur(byte, int, GaussianBlurBorderMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a Gaussian blur to this <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGaussianBlur_System_Int32_GrapeCity_Documents_Imaging_GaussianBlurBorderMode_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGaussianBlur(System.Int32,GrapeCity.Documents.Imaging.GaussianBlurBorderMode)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGaussianBlur.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGaussianBlur_System_Int32_GrapeCity_Documents_Imaging_GaussianBlurBorderMode_">ApplyGaussianBlur(int, GaussianBlurBorderMode)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a Gaussian blur to this <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGlow_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGlow(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyGlow.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyGlow_System_Int32_System_Int32_">ApplyGlow(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>When applied to a grayscale mask built from a color image using the <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.ToGrayscaleBitmap.html#GrapeCity_Documents_Imaging_GcBitmap_ToGrayscaleBitmap_GrapeCity_Documents_Imaging_ColorChannel_System_Boolean_">ToGrayscaleBitmap(ColorChannel, bool)</a> method,
modifies it so that the result can be used as a transparency mask to produce <b>Glow</b> or <b>Soft Edges</b> effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyLicenseKey_System_String_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ApplyLicenseKey.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ApplyLicenseKey_System_String_">ApplyLicenseKey(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a license key to an instance of <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_AutoContrast" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.AutoContrast">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.AutoContrast.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_AutoContrast">AutoContrast()</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies pixel intensities such that available range of values (0..255) is fully covered.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_AutoContrast_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.AutoContrast(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.AutoContrast.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_AutoContrast_System_Single_System_Single_">AutoContrast(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Modifies pixel intensities, clipping extremely low and extremely high values, such that available range of values (0..255) is fully covered.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Clear_System_Int32_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clear(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clear.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Clear_System_Int32_">Clear(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> with the specified value (from 0 to 255).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Clear_System_Int32_System_Drawing_Rectangle_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clear(System.Int32,System.Drawing.Rectangle)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clear.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Clear_System_Int32_System_Drawing_Rectangle_">Clear(int, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> with the specified value (from 0 to 255).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Clip_System_Drawing_Rectangle_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clip(System.Drawing.Rectangle,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clip.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Clip_System_Drawing_Rectangle_System_Boolean_">Clip(Rectangle, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> with a fragment of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Clone_System_Boolean_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clone(System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Clone.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Clone_System_Boolean_System_Boolean_">Clone(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> with a copy of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Dispose" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Dispose">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Dispose.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_Dispose_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.Dispose.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs cleanup operations on managed and unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_InvertColors" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.InvertColors">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.InvertColors.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_InvertColors">InvertColors()</a>
        </td>
        <td class="markdown level1 summary"><p>Inverts the pixel colors from black to white and vice versa.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_SetDpi_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.SetDpi(System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.SetDpi.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_SetDpi_System_Single_">SetDpi(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the physical resolution of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_SetDpi_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.SetDpi(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.SetDpi.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_SetDpi_System_Single_System_Single_">SetDpi(float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the physical resolution of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ShrinkPixelFormat_System_Int32_GrapeCity_Documents_Imaging_DitheringMethod_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ShrinkPixelFormat(System.Int32,GrapeCity.Documents.Imaging.DitheringMethod)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ShrinkPixelFormat.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ShrinkPixelFormat_System_Int32_GrapeCity_Documents_Imaging_DitheringMethod_">ShrinkPixelFormat(int, DitheringMethod)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes pixel format from 8 bits per pixel to lower value with two-dimensional error diffusion.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ToGcBitmap" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToGcBitmap">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToGcBitmap.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ToGcBitmap">ToGcBitmap()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of the <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> class from the current <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ToGcBitmap_GrapeCity_Documents_Imaging_GcBitmap_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToGcBitmap(GrapeCity.Documents.Imaging.GcBitmap,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToGcBitmap.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ToGcBitmap_GrapeCity_Documents_Imaging_GcBitmap_System_Boolean_">ToGcBitmap(GcBitmap, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the image into an existing instance of <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ToShadowBitmap_GrapeCity_Documents_Imaging_GcBitmap_System_Drawing_Color_System_Single_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToShadowBitmap(GrapeCity.Documents.Imaging.GcBitmap,System.Drawing.Color,System.Single,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToShadowBitmap.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ToShadowBitmap_GrapeCity_Documents_Imaging_GcBitmap_System_Drawing_Color_System_Single_System_Boolean_">ToShadowBitmap(GcBitmap, Color, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts an existing instance of <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> to a semi-transparent bitmap
representing the current <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
<p>
This method treats the current <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> as a transparency mask, regardless of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.TransparencyMask.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_TransparencyMask">TransparencyMask</a> property value.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_GrayscaleBitmap_ToShadowBitmap_System_Drawing_Color_System_Single_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToShadowBitmap(System.Drawing.Color,System.Single,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.ToShadowBitmap.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_ToShadowBitmap_System_Drawing_Color_System_Single_System_Boolean_">ToShadowBitmap(Color, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a semi-transparent <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> from the current <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a>.</p>
<p>
This method treats the current <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.html">GrayscaleBitmap</a> as a transparency mask, regardless of the <a class="xref" href="GrapeCity.Documents.Imaging.GrayscaleBitmap.TransparencyMask.html#GrapeCity_Documents_Imaging_GrayscaleBitmap_TransparencyMask">TransparencyMask</a> property value.
</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
