# GrapeCity.Documents.Drawing.IImage

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Drawing_IImage" data-uid="GrapeCity.Documents.Drawing.IImage" class="text-break">IImage Interface
</h1>
  <div class="markdown level0 summary"><p>Defines a common interface for images that can be drawn on a <a class="xref" href="GrapeCity.Documents.Drawing.GcGraphics.html">GcGraphics</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Drawing.html">GrapeCity.Documents.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Drawing_IImage_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IImage : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IImage
    Inherits IDisposable</code></pre>
  </div>
  <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_Drawing_IImage_Disposed" data-uid="GrapeCity.Documents.Drawing.IImage.Disposed">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.Disposed.html#GrapeCity_Documents_Drawing_IImage_Disposed">Disposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the image was not initialized or has already been disposed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IImage_ExifProfile" data-uid="GrapeCity.Documents.Drawing.IImage.ExifProfile">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.ExifProfile.html#GrapeCity_Documents_Drawing_IImage_ExifProfile">ExifProfile</a>
        </td>
        <td class="markdown level1 summary"><p>If possible, gets 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_Drawing_IImage_Height" data-uid="GrapeCity.Documents.Drawing.IImage.Height">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.Height.html#GrapeCity_Documents_Drawing_IImage_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the image, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IImage_HorizontalResolution" data-uid="GrapeCity.Documents.Drawing.IImage.HorizontalResolution">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.HorizontalResolution.html#GrapeCity_Documents_Drawing_IImage_HorizontalResolution">HorizontalResolution</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the horizontal resolution of the image, in dots per inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IImage_Rotation" data-uid="GrapeCity.Documents.Drawing.IImage.Rotation">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.Rotation.html#GrapeCity_Documents_Drawing_IImage_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_Drawing_IImage_VerticalResolution" data-uid="GrapeCity.Documents.Drawing.IImage.VerticalResolution">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.VerticalResolution.html#GrapeCity_Documents_Drawing_IImage_VerticalResolution">VerticalResolution</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the vertical resolution of the image, in dots per inch.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IImage_Width" data-uid="GrapeCity.Documents.Drawing.IImage.Width">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.Width.html#GrapeCity_Documents_Drawing_IImage_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the image, in pixels.</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_Drawing_IImage_ToGcBitmap_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="GrapeCity.Documents.Drawing.IImage.ToGcBitmap(GrapeCity.Documents.Imaging.GcBitmap)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.ToGcBitmap.html#GrapeCity_Documents_Drawing_IImage_ToGcBitmap_GrapeCity_Documents_Imaging_GcBitmap_">ToGcBitmap(GcBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads 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_Drawing_IImage_ToGcBitmap_System_Boolean_System_Boolean__" data-uid="GrapeCity.Documents.Drawing.IImage.ToGcBitmap(System.Boolean,System.Boolean@)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.ToGcBitmap.html#GrapeCity_Documents_Drawing_IImage_ToGcBitmap_System_Boolean_System_Boolean__">ToGcBitmap(bool, out bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the underlying <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> object, or creates a new <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> that contains the image data.</p>
<p>Note that you should dispose the returned <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> if <code class="paramref">disposeAfterUse</code> is true.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Drawing_IImage_ToGcBitmap_System_Boolean__" data-uid="GrapeCity.Documents.Drawing.IImage.ToGcBitmap(System.Boolean@)">
          <a class="xref" href="GrapeCity.Documents.Drawing.IImage.ToGcBitmap.html#GrapeCity_Documents_Drawing_IImage_ToGcBitmap_System_Boolean__">ToGcBitmap(out bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the underlying <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> object, or creates a new <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> that contains the image data.</p>
<p>Note that you should dispose the returned <a class="xref" href="GrapeCity.Documents.Imaging.GcBitmap.html">GcBitmap</a> if <code class="paramref">disposeAfterUse</code> is true.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
