# GrapeCity.SpreadBuilder.Printing.PageSetup

## Content

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



  <h1 id="GrapeCity_SpreadBuilder_Printing_PageSetup" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup" class="text-break">PageSetup Class
</h1>
  <div class="markdown level0 summary"><p>Represents page setup information for a worksheet such as margins, paper size, etc...</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">PageSetup</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.SpreadBuilder.Printing.html">GrapeCity.SpreadBuilder.Printing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.SpreadBuilder.dll</h6>
  <h5 id="GrapeCity_SpreadBuilder_Printing_PageSetup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PageSetup</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FirstPageNumberAuto" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FirstPageNumberAuto">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FirstPageNumberAuto.html">FirstPageNumberAuto</a>
        </td>
        <td class="markdown level1 summary"><p>Use this value with PageSetup.FirstPageNumber to specify that the first used page number should be determined automatically.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_MaxMarginValue" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.MaxMarginValue">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.MaxMarginValue.html">MaxMarginValue</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_SpreadBuilder_Printing_PageSetup_BlackAndWhite" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.BlackAndWhite">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.BlackAndWhite.html#GrapeCity_SpreadBuilder_Printing_PageSetup_BlackAndWhite">BlackAndWhite</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this document should be printed in color or in black and white mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_BottomMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.BottomMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.BottomMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_BottomMargin">BottomMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the bottom margin in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_Draft" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.Draft">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.Draft.html#GrapeCity_SpreadBuilder_Printing_PageSetup_Draft">Draft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether this document should be printed with or without any graphics.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FirstPageNumber" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FirstPageNumber">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FirstPageNumber.html#GrapeCity_SpreadBuilder_Printing_PageSetup_FirstPageNumber">FirstPageNumber</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the first page number to be used when printing this sheet.
If PageSetup.FirstPageNumberAuto is the value (default), the first page number is selected automatically.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPage.html#GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPage">FitToPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the FitToPage option should be selected.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPagesTall" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPagesTall">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPagesTall.html#GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPagesTall">FitToPagesTall</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pages tall the worksheet will be scaled to when it's printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPagesWide" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPagesWide">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FitToPagesWide.html#GrapeCity_SpreadBuilder_Printing_PageSetup_FitToPagesWide">FitToPagesWide</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pages width to which the worksheet will be scaled when it's printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_FooterMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.FooterMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.FooterMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_FooterMargin">FooterMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance from the bottom of the page to the footer, in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_HeaderMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.HeaderMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.HeaderMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_HeaderMargin">HeaderMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance from the top of the page to the header, in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_LeftMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.LeftMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.LeftMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_LeftMargin">LeftMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the left margin in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_Order" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.Order">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.Order.html#GrapeCity_SpreadBuilder_Printing_PageSetup_Order">Order</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the order in which pages are numbered when printing a large worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_Orientation" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.Orientation">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.Orientation.html#GrapeCity_SpreadBuilder_Printing_PageSetup_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether pages are printed in landscape or portrait orientation.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_PaperSize" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.PaperSize">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.PaperSize.html#GrapeCity_SpreadBuilder_Printing_PageSetup_PaperSize">PaperSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the paper to be printed on.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_PrintNotes" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.PrintNotes">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.PrintNotes.html#GrapeCity_SpreadBuilder_Printing_PageSetup_PrintNotes">PrintNotes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether cell notes should be printed as end notes with the sheet or not.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_RightMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.RightMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.RightMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_RightMargin">RightMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the right margin in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_TopMargin" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.TopMargin">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.TopMargin.html#GrapeCity_SpreadBuilder_Printing_PageSetup_TopMargin">TopMargin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the top margin in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_Printing_PageSetup_Zoom" data-uid="GrapeCity.SpreadBuilder.Printing.PageSetup.Zoom">
          <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.Zoom.html#GrapeCity_SpreadBuilder_Printing_PageSetup_Zoom">Zoom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the zoom level.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
