# C1.C1Preview.Export.XpsExportProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Export_XpsExportProvider" data-uid="C1.C1Preview.Export.XpsExportProvider" class="text-break">XpsExportProvider Class
</h1>
  <div class="markdown level0 summary"><p>Describes export to XPS format.</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="C1.C1Preview.Export.ExportProvider.html">ExportProvider</a></div>
    <div class="level2"><span class="xref">XpsExportProvider</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.Export.html">C1.C1Preview.Export</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_Export_XpsExportProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XpsExportProvider : ExportProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XpsExportProvider
    Inherits ExportProvider</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_C1Preview_Export_XpsExportProvider__ctor" data-uid="C1.C1Preview.Export.XpsExportProvider.#ctor">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.-ctor.html#C1_C1Preview_Export_XpsExportProvider__ctor">XpsExportProvider()</a>
        </td>
        <td class="markdown level1 summary"></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_C1Preview_Export_XpsExportProvider_CanExportToStream" data-uid="C1.C1Preview.Export.XpsExportProvider.CanExportToStream">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.CanExportToStream.html#C1_C1Preview_Export_XpsExportProvider_CanExportToStream">CanExportToStream</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether export to stream is supported by the current format.
This implementation returns <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_DefaultExtension" data-uid="C1.C1Preview.Export.XpsExportProvider.DefaultExtension">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.DefaultExtension.html#C1_C1Preview_Export_XpsExportProvider_DefaultExtension">DefaultExtension</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default filename extension for the current export format.
This implementation returns &quot;xps&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_FormatName" data-uid="C1.C1Preview.Export.XpsExportProvider.FormatName">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.FormatName.html#C1_C1Preview_Export_XpsExportProvider_FormatName">FormatName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a short description of the XPS export format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_PreferredOrdinal" data-uid="C1.C1Preview.Export.XpsExportProvider.PreferredOrdinal">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.PreferredOrdinal.html#C1_C1Preview_Export_XpsExportProvider_PreferredOrdinal">PreferredOrdinal</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the preferred ordinal of the export format in &quot;save as...&quot; and similar dialogs.
This implementation returns 40.</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_C1Preview_Export_XpsExportProvider_CanExportObject_System_Object_" data-uid="C1.C1Preview.Export.XpsExportProvider.CanExportObject(System.Object)">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.CanExportObject.html#C1_C1Preview_Export_XpsExportProvider_CanExportObject_System_Object_">CanExportObject(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether the specified object represents a document that can be exported
by the associated <a class="xref" href="C1.C1Preview.Export.XpsExporter.html">XpsExporter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_CanExportRange_C1_C1Preview_OutputRangeTypeEnum_" data-uid="C1.C1Preview.Export.XpsExportProvider.CanExportRange(C1.C1Preview.OutputRangeTypeEnum)">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.CanExportRange.html#C1_C1Preview_Export_XpsExportProvider_CanExportRange_C1_C1Preview_OutputRangeTypeEnum_">CanExportRange(OutputRangeTypeEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the associated exporter
can handle the specified type of document pages' range.
This implementation returns <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_CanExportType_System_Type_" data-uid="C1.C1Preview.Export.XpsExportProvider.CanExportType(System.Type)">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.CanExportType.html#C1_C1Preview_Export_XpsExportProvider_CanExportType_System_Type_">CanExportType(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests whether documents of the specified type can be exported
by the associated <a class="xref" href="C1.C1Preview.Export.XpsExporter.html">XpsExporter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_XpsExportProvider_NewExporter" data-uid="C1.C1Preview.Export.XpsExportProvider.NewExporter">
          <a class="xref" href="C1.C1Preview.Export.XpsExportProvider.NewExporter.html#C1_C1Preview_Export_XpsExportProvider_NewExporter">NewExporter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.C1Preview.Export.XpsExporter.html">XpsExporter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
