# C1.Excel.XLMetafile

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Excel_XLMetafile" data-uid="C1.Excel.XLMetafile" class="text-break">XLMetafile 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"><a class="xref" href="C1.Excel.XLImage.html">XLImage</a></div>
    <div class="level2"><span class="xref">XLMetafile</span></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_XLMetafile_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLMetafile : XLImage</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLMetafile
    Inherits 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_XLMetafile__ctor_System_Byte___" data-uid="C1.Excel.XLMetafile.#ctor(System.Byte[])">
          <a class="xref" href="C1.Excel.XLMetafile.-ctor.html#C1_Excel_XLMetafile__ctor_System_Byte___">XLMetafile(byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Create a metafile 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_XLMetafile_Format" data-uid="C1.Excel.XLMetafile.Format">
          <a class="xref" href="C1.Excel.XLMetafile.Format.html#C1_Excel_XLMetafile_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_XLMetafile_Height" data-uid="C1.Excel.XLMetafile.Height">
          <a class="xref" href="C1.Excel.XLMetafile.Height.html#C1_Excel_XLMetafile_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_XLMetafile_HorizontalResolution" data-uid="C1.Excel.XLMetafile.HorizontalResolution">
          <a class="xref" href="C1.Excel.XLMetafile.HorizontalResolution.html#C1_Excel_XLMetafile_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_XLMetafile_UsePlusInDual" data-uid="C1.Excel.XLMetafile.UsePlusInDual">
          <a class="xref" href="C1.Excel.XLMetafile.UsePlusInDual.html#C1_Excel_XLMetafile_UsePlusInDual">UsePlusInDual</a>
        </td>
        <td class="markdown level1 summary"><p>Use EMF+ part in dual metafiles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLMetafile_VerticalResolution" data-uid="C1.Excel.XLMetafile.VerticalResolution">
          <a class="xref" href="C1.Excel.XLMetafile.VerticalResolution.html#C1_Excel_XLMetafile_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_XLMetafile_Width" data-uid="C1.Excel.XLMetafile.Width">
          <a class="xref" href="C1.Excel.XLMetafile.Width.html#C1_Excel_XLMetafile_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_XLMetafile_FromFile_System_String_" data-uid="C1.Excel.XLMetafile.FromFile(System.String)">
          <a class="xref" href="C1.Excel.XLMetafile.FromFile.html#C1_Excel_XLMetafile_FromFile_System_String_">FromFile(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="C1.Excel.XLMetafile.html">XLMetafile</a> from the specified file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLMetafile_FromStream_System_IO_Stream_System_Int32_System_Int32_" data-uid="C1.Excel.XLMetafile.FromStream(System.IO.Stream,System.Int32,System.Int32)">
          <a class="xref" href="C1.Excel.XLMetafile.FromStream.html#C1_Excel_XLMetafile_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_XLMetafile_Render_C1_Util_IRendering_System_Single_System_Single_System_Single_System_Single_" data-uid="C1.Excel.XLMetafile.Render(C1.Util.IRendering,System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="C1.Excel.XLMetafile.Render.html#C1_Excel_XLMetafile_Render_C1_Util_IRendering_System_Single_System_Single_System_Single_System_Single_">Render(IRendering, float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Render metafile.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLMetafile_ToBinaryData" data-uid="C1.Excel.XLMetafile.ToBinaryData">
          <a class="xref" href="C1.Excel.XLMetafile.ToBinaryData.html#C1_Excel_XLMetafile_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_XLMetafile_ToDrawingImage" data-uid="C1.Excel.XLMetafile.ToDrawingImage">
          <a class="xref" href="C1.Excel.XLMetafile.ToDrawingImage.html#C1_Excel_XLMetafile_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>
      <tr>
        <td id="C1_Excel_XLMetafile_ToSvg_System_Boolean_" data-uid="C1.Excel.XLMetafile.ToSvg(System.Boolean)">
          <a class="xref" href="C1.Excel.XLMetafile.ToSvg.html#C1_Excel_XLMetafile_ToSvg_System_Boolean_">ToSvg(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a image (metafile as vectors) to SVG.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Excel_XLMetafile_ToSvg_System_Single_System_Single_System_Boolean_" data-uid="C1.Excel.XLMetafile.ToSvg(System.Single,System.Single,System.Boolean)">
          <a class="xref" href="C1.Excel.XLMetafile.ToSvg.html#C1_Excel_XLMetafile_ToSvg_System_Single_System_Single_System_Boolean_">ToSvg(float, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert a image (metafile as vectors) to SVG.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
