# C1.WPF.PrintDocument.C1DocumentViewer

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_PrintDocument_C1DocumentViewer" data-uid="C1.WPF.PrintDocument.C1DocumentViewer" class="text-break">C1DocumentViewer Class
</h1>
  <div class="markdown level0 summary"><p>Represents a document viewing control that can host paginated fixed documents,
including C1Report and C1PrintDocument FixedDocumentSequence representations
(see <a class="xref" href="C1.C1Preview.C1PrintDocument.FixedDocumentSequence.html#C1_C1Preview_C1PrintDocument_FixedDocumentSequence">FixedDocumentSequence</a>).</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.documentviewerbase">DocumentViewerBase</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.documentviewer">DocumentViewer</a></div>
    <div class="level9"><span class="xref">C1DocumentViewer</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.PrintDocument.html">C1.WPF.PrintDocument</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_WPF_PrintDocument_C1DocumentViewer_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1DocumentViewer))]
public class C1DocumentViewer : DocumentViewer, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IServiceProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1DocumentViewer))&gt;
Public Class C1DocumentViewer
    Inherits DocumentViewer
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IServiceProvider</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_WPF_PrintDocument_C1DocumentViewer__ctor" data-uid="C1.WPF.PrintDocument.C1DocumentViewer.#ctor">
          <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.-ctor.html#C1_WPF_PrintDocument_C1DocumentViewer__ctor">C1DocumentViewer()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.html">C1DocumentViewer</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_PrintDocument_C1DocumentViewer_DocumentViewerProperty" data-uid="C1.WPF.PrintDocument.C1DocumentViewer.DocumentViewerProperty">
          <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.DocumentViewerProperty.html">DocumentViewerProperty</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_PrintDocument_C1DocumentViewer_FileNameProperty" data-uid="C1.WPF.PrintDocument.C1DocumentViewer.FileNameProperty">
          <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.FileNameProperty.html">FileNameProperty</a>
        </td>
        <td class="markdown level1 summary"><p>The name of a C1D/C1DX document definition, or of an XML report definition file.</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_WPF_PrintDocument_C1DocumentViewer_DocumentViewer" data-uid="C1.WPF.PrintDocument.C1DocumentViewer.DocumentViewer">
          <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.DocumentViewer.html#C1_WPF_PrintDocument_C1DocumentViewer_DocumentViewer">DocumentViewer</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_PrintDocument_C1DocumentViewer_FileName" data-uid="C1.WPF.PrintDocument.C1DocumentViewer.FileName">
          <a class="xref" href="C1.WPF.PrintDocument.C1DocumentViewer.FileName.html#C1_WPF_PrintDocument_C1DocumentViewer_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of an XML report definition file,
or of a C1D/C1DX file.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
