# C1.Excel.XLImage

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Excel_XLImage" data-uid="C1.Excel.XLImage" class="text-break">XLImage Class
</h1>
  <div class="markdown level0 summary"><p>Contains differnet images used in the workbook.</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">XLImage</span></div>
      <div class="level2"><a class="xref" href="C1.Excel.XLMetafile.html">XLMetafile</a></div>
      <div class="level2"><a class="xref" href="C1.Excel.XLSvg.html">XLSvg</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Excel.html">C1.Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.Excel.dll</h6>
  <h5 id="C1_Excel_XLImage_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLImage</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLImage</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_Excel_XLImage__ctor" data-uid="C1.Excel.XLImage.#ctor">
          <a class="xref" href="C1.Excel.XLImage.-ctor.html#C1_Excel_XLImage__ctor">XLImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a image object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage__ctor_GrapeCity_Documents_Drawing_Image_" data-uid="C1.Excel.XLImage.#ctor(GrapeCity.Documents.Drawing.Image)">
          <a class="xref" href="C1.Excel.XLImage.-ctor.html#C1_Excel_XLImage__ctor_GrapeCity_Documents_Drawing_Image_">XLImage(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a image object.</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_Excel_XLImage_Format" data-uid="C1.Excel.XLImage.Format">
          <a class="xref" href="C1.Excel.XLImage.Format.html#C1_Excel_XLImage_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Excel.ImageFormat.html">ImageFormat</a> value for this image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_Height" data-uid="C1.Excel.XLImage.Height">
          <a class="xref" href="C1.Excel.XLImage.Height.html#C1_Excel_XLImage_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of the image, in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_HorizontalResolution" data-uid="C1.Excel.XLImage.HorizontalResolution">
          <a class="xref" href="C1.Excel.XLImage.HorizontalResolution.html#C1_Excel_XLImage_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="C1_Excel_XLImage_VerticalResolution" data-uid="C1.Excel.XLImage.VerticalResolution">
          <a class="xref" href="C1.Excel.XLImage.VerticalResolution.html#C1_Excel_XLImage_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="C1_Excel_XLImage_Width" data-uid="C1.Excel.XLImage.Width">
          <a class="xref" href="C1.Excel.XLImage.Width.html#C1_Excel_XLImage_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="C1_Excel_XLImage_FromBitmap_GrapeCity_Documents_Imaging_GcBitmap_" data-uid="C1.Excel.XLImage.FromBitmap(GrapeCity.Documents.Imaging.GcBitmap)">
          <a class="xref" href="C1.Excel.XLImage.FromBitmap.html#C1_Excel_XLImage_FromBitmap_GrapeCity_Documents_Imaging_GcBitmap_">FromBitmap(GcBitmap)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a bitmap object to the image in memory.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromBytes_System_Byte___" data-uid="C1.Excel.XLImage.FromBytes(System.Byte[])">
          <a class="xref" href="C1.Excel.XLImage.FromBytes.html#C1_Excel_XLImage_FromBytes_System_Byte___">FromBytes(byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a image data to the image in memory.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromFile_System_String_" data-uid="C1.Excel.XLImage.FromFile(System.String)">
          <a class="xref" href="C1.Excel.XLImage.FromFile.html#C1_Excel_XLImage_FromFile_System_String_">FromFile(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Excel.XLImage.html">XLImage</a> from the specified file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromImage_GrapeCity_Documents_Drawing_IImage_" data-uid="C1.Excel.XLImage.FromImage(GrapeCity.Documents.Drawing.IImage)">
          <a class="xref" href="C1.Excel.XLImage.FromImage.html#C1_Excel_XLImage_FromImage_GrapeCity_Documents_Drawing_IImage_">FromImage(IImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a image interface to the image in memory.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromImage_GrapeCity_Documents_Drawing_Image_" data-uid="C1.Excel.XLImage.FromImage(GrapeCity.Documents.Drawing.Image)">
          <a class="xref" href="C1.Excel.XLImage.FromImage.html#C1_Excel_XLImage_FromImage_GrapeCity_Documents_Drawing_Image_">FromImage(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a image to the image in memory.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromStream_System_IO_Stream_System_Int32_System_Int32_" data-uid="C1.Excel.XLImage.FromStream(System.IO.Stream,System.Int32,System.Int32)">
          <a class="xref" href="C1.Excel.XLImage.FromStream.html#C1_Excel_XLImage_FromStream_System_IO_Stream_System_Int32_System_Int32_">FromStream(Stream, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Excel.XLImage.html">XLImage</a> from the specified stream.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_FromText_System_String_" data-uid="C1.Excel.XLImage.FromText(System.String)">
          <a class="xref" href="C1.Excel.XLImage.FromText.html#C1_Excel_XLImage_FromText_System_String_">FromText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a bitmap object to the image in memory.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_GetImageSizeInTwips_C1_Excel_XLImage_" data-uid="C1.Excel.XLImage.GetImageSizeInTwips(C1.Excel.XLImage)">
          <a class="xref" href="C1.Excel.XLImage.GetImageSizeInTwips.html#C1_Excel_XLImage_GetImageSizeInTwips_C1_Excel_XLImage_">GetImageSizeInTwips(XLImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a image size in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_ToBinaryData" data-uid="C1.Excel.XLImage.ToBinaryData">
          <a class="xref" href="C1.Excel.XLImage.ToBinaryData.html#C1_Excel_XLImage_ToBinaryData">ToBinaryData()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a binary data fot this image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLImage_ToDrawingImage" data-uid="C1.Excel.XLImage.ToDrawingImage">
          <a class="xref" href="C1.Excel.XLImage.ToDrawingImage.html#C1_Excel_XLImage_ToDrawingImage">ToDrawingImage()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an approximate <span class="xref">GrapeCity.Documents.Drawing.Image</span> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Excel_XLImage_op_Implicit_C1_Excel_XLImage__GrapeCity_Documents_Drawing_Image" data-uid="C1.Excel.XLImage.op_Implicit(C1.Excel.XLImage)~GrapeCity.Documents.Drawing.Image">
          <a class="xref" href="C1.Excel.XLImage.op_Implicit.html#C1_Excel_XLImage_op_Implicit_C1_Excel_XLImage__GrapeCity_Documents_Drawing_Image">implicit operator Image(XLImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert implicitly <a class="xref" href="C1.Excel.XLImage.html">XLImage</a> to <span class="xref">GrapeCity.Documents.Drawing.Image</span> object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
