# GrapeCity.Documents.Imaging.Indexed8bppBitmap

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Imaging_Indexed8bppBitmap" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap" class="text-break">Indexed8bppBitmap Class
</h1>
  <div class="markdown level0 summary"><p>Represents a palette-color image 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">Indexed8bppBitmap</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_Indexed8bppBitmap_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Indexed8bppBitmap : IImage, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Indexed8bppBitmap
    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_Indexed8bppBitmap__ctor_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.#ctor(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.-ctor.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap__ctor_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Single_System_Single_">Indexed8bppBitmap(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.Indexed8bppBitmap.html">Indexed8bppBitmap</a> class.</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_Indexed8bppBitmap_ColorMap" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ColorMap">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ColorMap.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_ColorMap">ColorMap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the associated lookup table with 256 Red-Green-Blue[-Alpha] palette entries.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_DpiX" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.DpiX">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.DpiX.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_DpiY" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.DpiY">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.DpiY.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_ExifProfile" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ExifProfile">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ExifProfile.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_IccProfileData" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.IccProfileData">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.IccProfileData.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_IsDisposed" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.IsDisposed">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.IsDisposed.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a> has been disposed of.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Item_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Item(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Item.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Item_System_Int32_System_Int32_">this[int, int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a lookup table index (from 0 to 255) at the specified coordinates.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Opaque" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Opaque">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Opaque.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Opaque">Opaque</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the alpha channel of the image should be ignored.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_PixelHeight" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.PixelHeight">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.PixelHeight.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_PixelWidth" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.PixelWidth">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.PixelWidth.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_Premultiplied" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Premultiplied">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Premultiplied.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Premultiplied">Premultiplied</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the color channels for all pixels are premultiplied by the alpha channel.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_RawData" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.RawData">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.RawData.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_Rotation" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Rotation">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Rotation.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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>
    </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_Indexed8bppBitmap_ApplyLicenseKey_System_String_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ApplyLicenseKey(System.String)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ApplyLicenseKey.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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.Indexed8bppBitmap.html">Indexed8bppBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clear_System_Int32_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clear(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clear.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clear_System_Int32_">Clear(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a> with the specified lookup table index (from 0 to 255).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clear_System_Int32_System_Drawing_Rectangle_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clear(System.Int32,System.Drawing.Rectangle)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clear.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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.Indexed8bppBitmap.html">Indexed8bppBitmap</a> with the specified lookup table index (from 0 to 255).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clip_System_Drawing_Rectangle_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clip(System.Drawing.Rectangle)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clip.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clip_System_Drawing_Rectangle_">Clip(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a> with a fragment of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clone_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clone(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Clone.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_Clone_System_Boolean_">Clone(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.html">Indexed8bppBitmap</a> with a copy of the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_CompactPalette_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.CompactPalette(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.CompactPalette.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_CompactPalette_System_Boolean_">CompactPalette(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Compacts the image palette to 8 bits per color channel and returns the palette as an array of 32-bit ARGB values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_Dispose" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Dispose">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Dispose.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_Dispose_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.Dispose.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_SetDpi_System_Single_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.SetDpi(System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.SetDpi.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_SetDpi_System_Single_System_Single_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.SetDpi(System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.SetDpi.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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_Indexed8bppBitmap_ToGcBitmap" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ToGcBitmap">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ToGcBitmap.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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.Indexed8bppBitmap.html">Indexed8bppBitmap</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_Indexed8bppBitmap_ToGcBitmap_GrapeCity_Documents_Imaging_GcBitmap_System_Boolean_" data-uid="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ToGcBitmap(GrapeCity.Documents.Imaging.GcBitmap,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Imaging.Indexed8bppBitmap.ToGcBitmap.html#GrapeCity_Documents_Imaging_Indexed8bppBitmap_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>
    </tbody>
  </table>

</div>
