# C1.Win.Document.C1DocumentSource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Document_C1DocumentSource" data-uid="C1.Win.Document.C1DocumentSource" class="text-break">C1DocumentSource Class
</h1>
  <div class="markdown level0 summary"><p>Abstract base class for types that can create and manage a <a class="xref" href="C1.Win.Document.C1Document.html">C1Document</a> object
from some source.</p>
<p>Derived classes provide implementation for specific sources such as SSRS reports etc.</p>
<p>The common base (C1DocumentSource) allows to work with various document and reports types
(e.g. previewing or printing them) in a uniform manner.</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">C1DocumentSource</span></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_C1DocumentSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1DocumentSource : C1DocumentSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1DocumentSource
    Inherits C1DocumentSource</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_C1DocumentSource__ctor" data-uid="C1.Win.Document.C1DocumentSource.#ctor">
          <a class="xref" href="C1.Win.Document.C1DocumentSource.-ctor.html#C1_Win_Document_C1DocumentSource__ctor">C1DocumentSource()</a>
        </td>
        <td class="markdown level1 summary"></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_C1DocumentSource_Print_System_Drawing_Printing_PrinterSettings_" data-uid="C1.Win.Document.C1DocumentSource.Print(System.Drawing.Printing.PrinterSettings)">
          <a class="xref" href="C1.Win.Document.C1DocumentSource.Print.html#C1_Win_Document_C1DocumentSource_Print_System_Drawing_Printing_PrinterSettings_">Print(PrinterSettings)</a>
        </td>
        <td class="markdown level1 summary"><p>Prints the generated report.
DefaultPrintOptions property used to initialize <a class="xref" href="C1.Win.Document.C1PrintOptions.html">C1PrintOptions</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
