# C1.Win.Document.C1PdfDocumentSource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Document_C1PdfDocumentSource" data-uid="C1.Win.Document.C1PdfDocumentSource" class="text-break">C1PdfDocumentSource Class
</h1>
  <div class="markdown level0 summary"><p>Represents a document source which loads and renders PDF documents.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><span class="xref">C1DocumentSource</span></div>
    <div class="level4"><span class="xref">C1PdfDocumentSource</span></div>
    <div class="level5"><span class="xref">C1PdfDocumentSource</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <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.Win.Document.html">C1.Win.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Document.10.dll</h6>
  <h5 id="C1_Win_Document_C1PdfDocumentSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1Description(&quot;C1PdfDocumentSource&quot;, &quot;Represents a document source to access a PDF document.&quot;)]
public class C1PdfDocumentSource : C1PdfDocumentSource, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;C1PdfDocumentSource&quot;, &quot;Represents a document source to access a PDF document.&quot;)&gt;
Public Class C1PdfDocumentSource
    Inherits C1PdfDocumentSource
    Implements IComponent, 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_Win_Document_C1PdfDocumentSource__ctor" data-uid="C1.Win.Document.C1PdfDocumentSource.#ctor">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.-ctor.html#C1_Win_Document_C1PdfDocumentSource__ctor">C1PdfDocumentSource()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.html">C1PdfDocumentSource</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_C1PdfDocumentSource__ctor_System_ComponentModel_IContainer_" data-uid="C1.Win.Document.C1PdfDocumentSource.#ctor(System.ComponentModel.IContainer)">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.-ctor.html#C1_Win_Document_C1PdfDocumentSource__ctor_System_ComponentModel_IContainer_">C1PdfDocumentSource(IContainer)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.html">C1PdfDocumentSource</a> class.</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_Win_Document_C1PdfDocumentSource_PageSettings" data-uid="C1.Win.Document.C1PdfDocumentSource.PageSettings">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.PageSettings.html#C1_Win_Document_C1PdfDocumentSource_PageSettings">PageSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Not supported for <span class="xref">C1.Document.C1PdfDocumentSource</span>, returns settings of first document's page or null
if document has no pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_C1PdfDocumentSource_SupportedExportProviders" data-uid="C1.Win.Document.C1PdfDocumentSource.SupportedExportProviders">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.SupportedExportProviders.html#C1_Win_Document_C1PdfDocumentSource_SupportedExportProviders">SupportedExportProviders</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden. Gets an array of exporters supported by the current document source object.</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_Win_Document_C1PdfDocumentSource_CreateRenderPdfFragment_C1_Document_RenderPdf_" data-uid="C1.Win.Document.C1PdfDocumentSource.CreateRenderPdfFragment(C1.Document.RenderPdf)">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.CreateRenderPdfFragment.html#C1_Win_Document_C1PdfDocumentSource_CreateRenderPdfFragment_C1_Document_RenderPdf_">CreateRenderPdfFragment(RenderPdf)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the RenderPdfFragment class using the specified RenderPdf object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Document_C1PdfDocumentSource_GetPageMetafile_System_Int32_System_Drawing_Imaging_Metafile__System_Boolean__" data-uid="C1.Win.Document.C1PdfDocumentSource.GetPageMetafile(System.Int32,System.Drawing.Imaging.Metafile@,System.Boolean@)">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.GetPageMetafile.html#C1_Win_Document_C1PdfDocumentSource_GetPageMetafile_System_Int32_System_Drawing_Imaging_Metafile__System_Boolean__">GetPageMetafile(int, out Metafile, out bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Document_C1PdfDocumentSource_InternalPrint_C1_Document_C1PrintOptions_C1_Document_IExecutionContext_" data-uid="C1.Win.Document.C1PdfDocumentSource.InternalPrint(C1.Document.C1PrintOptions,C1.Document.IExecutionContext)">
          <a class="xref" href="C1.Win.Document.C1PdfDocumentSource.InternalPrint.html#C1_Win_Document_C1PdfDocumentSource_InternalPrint_C1_Document_C1PrintOptions_C1_Document_IExecutionContext_">InternalPrint(C1PrintOptions, IExecutionContext)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
