# C1.Document.Util.IImageWrapper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_Util_IImageWrapper" data-uid="C1.Document.Util.IImageWrapper" class="text-break">IImageWrapper Class
</h1>
  <div class="markdown level0 summary"><p>Wrapper class for <span class="xref">GrapeCity.Documents.Drawing.IImage</span> interface.</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">IImageWrapper</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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="C1.Document.Util.html">C1.Document.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_Util_IImageWrapper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class IImageWrapper : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class IImageWrapper
    Implements 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="C1_Document_Util_IImageWrapper__ctor_GrapeCity_Documents_Drawing_IImage_" data-uid="C1.Document.Util.IImageWrapper.#ctor(GrapeCity.Documents.Drawing.IImage)">
          <a class="xref" href="C1.Document.Util.IImageWrapper.-ctor.html#C1_Document_Util_IImageWrapper__ctor_GrapeCity_Documents_Drawing_IImage_">IImageWrapper(IImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance if <a class="xref" href="C1.Document.Util.IImageWrapper.html">IImageWrapper</a></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="C1_Document_Util_IImageWrapper_Instance" data-uid="C1.Document.Util.IImageWrapper.Instance">
          <a class="xref" href="C1.Document.Util.IImageWrapper.Instance.html#C1_Document_Util_IImageWrapper_Instance">Instance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <span class="xref">GrapeCity.Documents.Drawing.IImage</span> instance;</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="C1_Document_Util_IImageWrapper_Dispose" data-uid="C1.Document.Util.IImageWrapper.Dispose">
          <a class="xref" href="C1.Document.Util.IImageWrapper.Dispose.html#C1_Document_Util_IImageWrapper_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Document_Util_IImageWrapper_Draw_GrapeCity_Documents_Drawing_GcGraphics_C1_Interop_Rect_" data-uid="C1.Document.Util.IImageWrapper.Draw(GrapeCity.Documents.Drawing.GcGraphics,C1.Interop.Rect)">
          <a class="xref" href="C1.Document.Util.IImageWrapper.Draw.html#C1_Document_Util_IImageWrapper_Draw_GrapeCity_Documents_Drawing_GcGraphics_C1_Interop_Rect_">Draw(GcGraphics, Rect)</a>
        </td>
        <td class="markdown level1 summary"><p>Draws <span class="xref">GrapeCity.Documents.Drawing.IImage</span> to <span class="xref">GrapeCity.Documents.Drawing.GcGraphics</span></p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Util_IImageWrapper_GetSize" data-uid="C1.Document.Util.IImageWrapper.GetSize">
          <a class="xref" href="C1.Document.Util.IImageWrapper.GetSize.html#C1_Document_Util_IImageWrapper_GetSize">GetSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns size of the image in pixels.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
