# GrapeCity.Documents.Excel.ViewerPreferences

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_ViewerPreferences" data-uid="GrapeCity.Documents.Excel.ViewerPreferences" class="text-break">ViewerPreferences Class
</h1>
  <div class="markdown level0 summary"><p>Represents viewer preferences to be used when displaying the document.</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">ViewerPreferences</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_ViewerPreferences_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ViewerPreferences</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ViewerPreferences</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_ViewerPreferences__ctor" data-uid="GrapeCity.Documents.Excel.ViewerPreferences.#ctor">
          <a class="xref" href="GrapeCity.Documents.Excel.ViewerPreferences.-ctor.html#GrapeCity_Documents_Excel_ViewerPreferences__ctor">ViewerPreferences()</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="GrapeCity_Documents_Excel_ViewerPreferences_PickTrayByPDFSize" data-uid="GrapeCity.Documents.Excel.ViewerPreferences.PickTrayByPDFSize">
          <a class="xref" href="GrapeCity.Documents.Excel.ViewerPreferences.PickTrayByPDFSize.html#GrapeCity_Documents_Excel_ViewerPreferences_PickTrayByPDFSize">PickTrayByPDFSize</a>
        </td>
        <td class="markdown level1 summary"><p>(PDF 1.7) A flag specifying whether the PDF page size is used to select the input paper tray.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
