# C1.C1Preview.C1PrintManager.IsSupportedDocument

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintManager_IsSupportedDocument_" data-uid="C1.C1Preview.C1PrintManager.IsSupportedDocument*">IsSupportedDocument Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintManager_IsSupportedDocument_" data-uid="C1.C1Preview.C1PrintManager.IsSupportedDocument*"></a>
<h4 id="C1_C1Preview_C1PrintManager_IsSupportedDocument_System_Object_" data-uid="C1.C1Preview.C1PrintManager.IsSupportedDocument(System.Object)">IsSupportedDocument(object)</h4>
<div class="markdown level1 summary"><p>Tests whether an object can by printed by this print manager.
If this method returns false for an object, an attempt to assign that object
to <a class="xref" href="C1.C1Preview.C1PrintManager.Document.html#C1_C1Preview_C1PrintManager_Document">Document</a> will cause an exception.
Currently supported types include:</p>
<ul><li><a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a></li><li><a class="xref" href="C1.C1Preview.C1MultiDocument.html">C1MultiDocument</a></li><li><b>PrintDocument</b></li><li><b>IEnumerable</b> (assumes a list of page images).</li></ul>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static bool IsSupportedDocument(object document)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function IsSupportedDocument(document As Object) As Boolean</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="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">document</span></td>
      <td><p>The document to test.</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.boolean">bool</a></td>
      <td><p>True if the document can be printed, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_C1PrintManager_IsSupportedDocument_System_Object__seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.C1PrintManager.Document.html#C1_C1Preview_C1PrintManager_Document">Document</a></div>
</div>
</div>
