# GrapeCity.Viewer.Common.IDocumentLoader.Load

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Viewer_Common_IDocumentLoader_Load_" data-uid="GrapeCity.Viewer.Common.IDocumentLoader.Load*">Load Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Viewer_Common_IDocumentLoader_Load_" data-uid="GrapeCity.Viewer.Common.IDocumentLoader.Load*"></a>
<h4 id="GrapeCity_Viewer_Common_IDocumentLoader_Load_GrapeCity_Viewer_Common_ILoadableFromFileAndStream_" data-uid="GrapeCity.Viewer.Common.IDocumentLoader.Load(GrapeCity.Viewer.Common.ILoadableFromFileAndStream)">Load(ILoadableFromFileAndStream)</h4>
<div class="markdown level1 summary"><p>Loads a document from a specified source.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Load(ILoadableFromFileAndStream obj)</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><a class="xref" href="GrapeCity.Viewer.Common.ILoadableFromFileAndStream.html">ILoadableFromFileAndStream</a></td>
      <td><span class="parametername">obj</span></td>
      <td><p>The source object from which the document can be loaded. This could be a file path or a stream.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
