# C1.Framework.Theme.LoadImage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Theme_LoadImage_" data-uid="C1.Framework.Theme.LoadImage*">LoadImage Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Theme_LoadImage_" data-uid="C1.Framework.Theme.LoadImage*"></a>
<h4 id="C1_Framework_Theme_LoadImage_System_Xml_XmlNode_" data-uid="C1.Framework.Theme.LoadImage(System.Xml.XmlNode)">LoadImage(XmlNode)</h4>
<div class="markdown level1 summary"><p>Loads an image from the Xml stream.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual Image LoadImage(XmlNode node)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function LoadImage(node As XmlNode) As Image</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">XmlNode</span></td>
      <td><span class="parametername">node</span></td>
      <td><p><span class="xref">System.Xml.XmlNode</span> that contains the image information.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Theme_LoadImage_System_Xml_XmlNode__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The first instance of each image is stored as node data (base 64-encoded). When this
instance is loaded for the first time, the image is stored in an internal image list.</p>
<p>Subsequent instances of the same image are not stored in the node as binary data;
an "index" attribute is used instead that specifies the index of the image in the
internal image collection.</p>
</div>
</div>
