# GrapeCity.Documents.Excel.PrintOutOptions

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_PrintOutOptions" data-uid="GrapeCity.Documents.Excel.PrintOutOptions" class="text-break">PrintOutOptions Class
</h1>
  <div class="markdown level0 summary"><p>Contains options for printing.</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">PrintOutOptions</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_PrintOutOptions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PrintOutOptions</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PrintOutOptions</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="GrapeCity_Documents_Excel_PrintOutOptions__ctor" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.#ctor">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.-ctor.html#GrapeCity_Documents_Excel_PrintOutOptions__ctor">PrintOutOptions()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor.</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="GrapeCity_Documents_Excel_PrintOutOptions_ActivePrinter" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.ActivePrinter">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.ActivePrinter.html#GrapeCity_Documents_Excel_PrintOutOptions_ActivePrinter">ActivePrinter</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the name of the active printer, for example: &quot;Microsoft Print to PDF&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_Collate" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.Collate">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.Collate.html#GrapeCity_Documents_Excel_PrintOutOptions_Collate">Collate</a>
        </td>
        <td class="markdown level1 summary"><pre><code>&lt;a href=&quot;https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool&quot;&gt;true&lt;/a&gt; to collate multiple copies.
</code></pre>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_Copies" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.Copies">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.Copies.html#GrapeCity_Documents_Excel_PrintOutOptions_Copies">Copies</a>
        </td>
        <td class="markdown level1 summary"><p>The number of copies to print.
If this argument is omitted, one copy is printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_Duplex" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.Duplex">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.Duplex.html#GrapeCity_Documents_Excel_PrintOutOptions_Duplex">Duplex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the printer setting for double-sided printing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_From" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.From">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.From.html#GrapeCity_Documents_Excel_PrintOutOptions_From">From</a>
        </td>
        <td class="markdown level1 summary"><p>The 1-based number of the page at which to start printing.
If the value is empty, printing starts at the beginning.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_PaperSourceName" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.PaperSourceName">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.PaperSourceName.html#GrapeCity_Documents_Excel_PrintOutOptions_PaperSourceName">PaperSourceName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the paper source (input tray) used for printing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_PrintBackgroundPicture" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.PrintBackgroundPicture">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.PrintBackgroundPicture.html#GrapeCity_Documents_Excel_PrintOutOptions_PrintBackgroundPicture">PrintBackgroundPicture</a>
        </td>
        <td class="markdown level1 summary"><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the sheet's background image is printed on the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_PrintTransparentCell" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.PrintTransparentCell">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.PrintTransparentCell.html#GrapeCity_Documents_Excel_PrintOutOptions_PrintTransparentCell">PrintTransparentCell</a>
        </td>
        <td class="markdown level1 summary"><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the transparency of the cell's background color is printed on the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_ShrinkToFitSettings" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.ShrinkToFitSettings">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.ShrinkToFitSettings.html#GrapeCity_Documents_Excel_PrintOutOptions_ShrinkToFitSettings">ShrinkToFitSettings</a>
        </td>
        <td class="markdown level1 summary"><p>The settings about performing shrink to fit on the wrapped text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_To" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.To">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.To.html#GrapeCity_Documents_Excel_PrintOutOptions_To">To</a>
        </td>
        <td class="markdown level1 summary"><p>The 1-based number of the last page to print.
If the value is empty, printing ends with the last page.</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="GrapeCity_Documents_Excel_PrintOutOptions_PagePrinted" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.PagePrinted">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.PagePrinted.html">PagePrinted</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after printing a page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_PrintOutOptions_PagePrinting" data-uid="GrapeCity.Documents.Excel.PrintOutOptions.PagePrinting">
          <a class="xref" href="GrapeCity.Documents.Excel.PrintOutOptions.PagePrinting.html">PagePrinting</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs before printing a page.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
