# GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage_" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage*">FitToPage Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage_" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage*"></a>
<h4 id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage">FitToPage</h4>
<div class="markdown level1 summary"><p>Gets whether the FitToPage option should be selected.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool FitToPage { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</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>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value, representing FitToPage option.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If FitToPagesWide or FitToPagesTall has been set since the last zoom, this property returns true to indicate that the FitToPage option should be selected in the Page Setup dialog.<br>
If Zoom has been set since FitToPagesWide or FitToPagesTall (or if neither of these properties has been set), this property returns false, indicating that the Zoom/Percentage option should be selected.</p>
</div>
</div>
