# C1.C1Preview.C1PrintOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_C1PrintOptions" data-uid="C1.C1Preview.C1PrintOptions" class="text-break">C1PrintOptions Class
</h1>
  <div class="markdown level0 summary"><p>Describes options controlling how a document's content
is to be printed (or previewed).</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">C1PrintOptions</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <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.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_C1PrintOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1PrintOptions : INotifyPropertyChanged, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1PrintOptions
    Implements INotifyPropertyChanged, 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_C1Preview_C1PrintOptions__ctor" data-uid="C1.C1Preview.C1PrintOptions.#ctor">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.-ctor.html#C1_C1Preview_C1PrintOptions__ctor">C1PrintOptions()</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_C1PrintOptions_AutoPaperSize" data-uid="C1.C1Preview.C1PrintOptions.AutoPaperSize">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.AutoPaperSize.html#C1_C1Preview_C1PrintOptions_AutoPaperSize">AutoPaperSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paper size is selected automatically.</p>
<p>
The default value is <b>false</b>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_AutoPaperSource" data-uid="C1.C1Preview.C1PrintOptions.AutoPaperSource">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.AutoPaperSource.html#C1_C1Preview_C1PrintOptions_AutoPaperSource">AutoPaperSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the paper source is selected automatically.</p>
<p>
The default value is <b>false</b>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_AutoRotate" data-uid="C1.C1Preview.C1PrintOptions.AutoRotate">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.AutoRotate.html#C1_C1Preview_C1PrintOptions_AutoRotate">AutoRotate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether pages should be auto-rotated to better fit the paper during printing.</p>
<p>
The default value is <b>true</b>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_CenterPage" data-uid="C1.C1Preview.C1PrintOptions.CenterPage">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.CenterPage.html#C1_C1Preview_C1PrintOptions_CenterPage">CenterPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the page should be centered on paper during printing.</p>
<p>
The default value is <b>true</b>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_DrawPrintableAreaBounds" data-uid="C1.C1Preview.C1PrintOptions.DrawPrintableAreaBounds">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.DrawPrintableAreaBounds.html#C1_C1Preview_C1PrintOptions_DrawPrintableAreaBounds">DrawPrintableAreaBounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a line is drawn around the printable area of the page.
This may be useful for diagnostic purposes. <a class="xref" href="C1.C1Preview.C1PrintOptions.PrintableAreaBoundsPen.html#C1_C1Preview_C1PrintOptions_PrintableAreaBoundsPen">PrintableAreaBoundsPen</a> is used to draw the line.
The default is <b>false</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_MsPrintDocumentPrintEmfType" data-uid="C1.C1Preview.C1PrintOptions.MsPrintDocumentPrintEmfType">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.MsPrintDocumentPrintEmfType.html#C1_C1Preview_C1PrintOptions_MsPrintDocumentPrintEmfType">MsPrintDocumentPrintEmfType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of metafiles used when printing standard .NET PrintDocument documents.</p>
<p>The default is <b>EmfType.EmfPlusDual</b>.</p><p>
If your printer needs to scan the output for data (e.g. a fax number;
a case in point is Tobit Faxware) and fails, try setting this to <b>EmfType.EmfOnly</b>.
</p><p>
Note that this property ONLY affects printing of standard .NET PrintDocument documents,
and has no bearing on other supported document types.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_PageScaling" data-uid="C1.C1Preview.C1PrintOptions.PageScaling">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.PageScaling.html#C1_C1Preview_C1PrintOptions_PageScaling">PageScaling</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value indicating the manner in which pages are scaled during printing.</p>
<p>
The default value is <a class="xref" href="C1.C1Preview.PageScalingEnum.html#C1_C1Preview_PageScalingEnum_ReduceToPaper">ReduceToPaper</a>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_PrintAsBitmap" data-uid="C1.C1Preview.C1PrintOptions.PrintAsBitmap">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.PrintAsBitmap.html#C1_C1Preview_C1PrintOptions_PrintAsBitmap">PrintAsBitmap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether page metafiles should be converted to
bitmaps and clipped to printer's hard margins prior to printing.</p>
<p>
The default value is <b>false</b>.
</p><p>
Normally document pages are sent to printer as metafiles.
If a page exceeds the printable area of a printer, problems may occur
with some printer drivers when the page is printed.
In those cases set this property to <b>true</b>.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_PrintableAreaBoundsPen" data-uid="C1.C1Preview.C1PrintOptions.PrintableAreaBoundsPen">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.PrintableAreaBoundsPen.html#C1_C1Preview_C1PrintOptions_PrintableAreaBoundsPen">PrintableAreaBoundsPen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the pen used to draw printable area bounds if <a class="xref" href="C1.C1Preview.C1PrintOptions.DrawPrintableAreaBounds.html#C1_C1Preview_C1PrintOptions_DrawPrintableAreaBounds">DrawPrintableAreaBounds</a> is <b>true</b>.
If this value is <b>null</b> (which is the default), a single-pixel black pen is used.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_C1PrintOptions_PropertyChanged" data-uid="C1.C1Preview.C1PrintOptions.PropertyChanged">
          <a class="xref" href="C1.C1Preview.C1PrintOptions.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property on the current <a class="xref" href="C1.C1Preview.C1PrintOptions.html">C1PrintOptions</a> object changes.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.C1PrintManager.html">C1PrintManager</a></div>
  </div>

</div>
