# GrapeCity.Wpf.SpreadSheet.Dialogs.BuiltInDialogs.PageSetup

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_Dialogs_BuiltInDialogs_PageSetup_" data-uid="GrapeCity.Wpf.SpreadSheet.Dialogs.BuiltInDialogs.PageSetup*">PageSetup Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_Dialogs_BuiltInDialogs_PageSetup_" data-uid="GrapeCity.Wpf.SpreadSheet.Dialogs.BuiltInDialogs.PageSetup*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_Dialogs_BuiltInDialogs_PageSetup_GrapeCity_Wpf_SpreadSheet_GcSpreadSheet_GrapeCity_Wpf_SpreadSheet_Dialogs_PageSetupTab_System_Boolean_" data-uid="GrapeCity.Wpf.SpreadSheet.Dialogs.BuiltInDialogs.PageSetup(GrapeCity.Wpf.SpreadSheet.GcSpreadSheet,GrapeCity.Wpf.SpreadSheet.Dialogs.PageSetupTab,System.Boolean)">PageSetup(GcSpreadSheet, PageSetupTab, bool)</h4>
<div class="markdown level1 summary"><p>Gets the page setup dialog used to configure page setup settings for SpreadSheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IDialog PageSetup(GcSpreadSheet spread, PageSetupTab ativeTab = PageSetupTab.Page, bool isPrint = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function PageSetup(spread As GcSpreadSheet, Optional ativeTab As PageSetupTab = PageSetupTab.Page, Optional isPrint As Boolean = False) As IDialog</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.GcSpreadSheet.html">GcSpreadSheet</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Wpf.SpreadSheet.GcSpreadSheet.html">GcSpreadSheet</a> control to work with.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">PageSetupTab</span></td>
      <td><span class="parametername">ativeTab</span></td>
      <td><p>The default tab.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isPrint</span></td>
      <td><p><code>true</code> to indicate the print mode (some settings cannot be changed); <code>false</code> all settings are available to customize.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="GrapeCity.Wpf.SpreadSheet.Dialogs.IDialog.html">IDialog</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
