# IPageSetup

## Content

<div class="docapp-java-api-doc-main"><style>:not(h1, h2, h3, h4, h5, h6)>code,
:not(h1, h2, h3, h4, h5, h6)>tt {
    font-size: 14px;
    padding-top: 4px;
    margin-top: 8px;
    line-height: 1.4em;
}

.summary-table dt code {
    font-size: 14px;
    vertical-align: top;
    padding-top: 4px;
}

.tab {
    background-color: #0066FF;
    color: #ffffff;
    padding: 8px;
    width: 5em;
    font-weight: bold;
}

/*
 * Styles for page header and footer.
 */
.title {
    color: #2c4557;
    margin: 10px 0;
}

.sub-title {
    margin: 5px 0 0 0;
}

.header ul {
    margin: 0 0 15px 0;
    padding: 0;
}

.header ul li,
.footer ul li {
    list-style: none;
}

/*
 * Styles for headings.
 */
.summary h2,
.details h2,
h2,
.block-list h2 {
    padding: 0;
    margin: 15px 0;
}

.summary h3,
.details h3,
.summary .inherited-list h2 {
    background-color: var(--ds-product-color);
    color: #fff;
    border: 1px solid #d0d9e0;
    padding: 7px 5px;
}

.summary h3 a,
.details h3 a,
.summary .inherited-list h2 a {
    color: #fff !important;
}
/*
 * Styles for page layout containers.
 */
dl.notes>dt {
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0 0 0;
    color: #4E4E4E;
}

dl.notes>dd {
    margin: 5px 10px 10px 0;
    font-size: 14px;
}

dl.name-value>dt {
    margin-left: 1px;
    font-size: 1.1em;
    display: inline;
    font-weight: bold;
}

dl.name-value>dd {
    margin: 0 0 0 1px;
    font-size: 1.1em;
    display: inline;
}

/*
 * Styles for lists.
 */
li.circle {
    list-style: circle;
}

ul.horizontal li {
    display: inline;
    font-size: 0.9em;
}

div.inheritance {
    margin: 0;
    padding: 0;
}

div.inheritance div.inheritance {
    margin-left: 2em;
}

ul.block-list,
ul.details-list,
ul.member-list,
ul.summary-list {
    margin: 10px 0 10px 0;
    padding: 0;
}

ul.block-list>li,
ul.details-list>li,
ul.member-list>li,
ul.summary-list>li {
    list-style: none;
    margin-bottom: 15px;
    line-height: 1.4;
}

.summary-table dl,
.summary-table dl dt,
.summary-table dl dd {
    margin-top: 0;
    margin-bottom: 1px;
}

ul.see-list,
ul.see-list-long {
    padding-left: 0;
    list-style: none;
}

ul.see-list li {
    display: inline;
}

ul.see-list li:not(:last-child):after,
ul.see-list-long li:not(:last-child):after {
    content: ", ";
    white-space: pre-wrap;
}

/*
 * Styles for tables.
 */
.summary-table,
.details-table {
    width: 100%;
    border-spacing: 0;
    border-left: 1px solid #EEE;
    border-right: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
    padding: 0;
}

.caption {
    position: relative;
    text-align: left;
    background-repeat: no-repeat;
    color: #253441;
    font-weight: bold;
    clear: none;
    overflow: hidden;
    padding: 0;
    padding-top: 10px;
    padding-left: 1px;
    margin: 0;
    white-space: pre;
}

.caption a:link,
.caption a:visited {
    color: #1f389c;
}

.caption a:hover,
.caption a:active {
    color: #FFFFFF;
}

.caption span {
    white-space: nowrap;
    padding-top: 5px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 7px;
    display: inline-block;
    background-color: var(--ds-product-color);
    color: #fff;
    border: none;
}

div.table-tabs {
    padding: 10px 0 0 1px;
    margin: 0;
}

div.table-tabs>button {
    border: none;
    cursor: pointer;
    padding: 5px 12px 7px 12px;
    font-weight: bold;
    margin-right: 3px;
}

div.table-tabs>button.active-table-tab {
    background: var(--ds-product-color);
    color: #fff;
}

div.table-tabs>button.table-tab {
    background: var(--ds-product-color);
    color: #FFFFFF;
    border-bottom: 1px solid #eee;
}

.two-column-summary {
    display: grid;
    grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
}

.three-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto);
}

.four-column-summary {
    display: grid;
    grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto);
}

@media screen and (max-width: 600px) {
    .two-column-summary {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 800px) {
    .three-column-summary {
        display: grid;
        grid-template-columns: minmax(10%, max-content) minmax(25%, auto);
    }

    .three-column-summary .col-last {
        grid-column-end: span 2;
    }
}

@media screen and (max-width: 1000px) {
    .four-column-summary {
        display: grid;
        grid-template-columns: minmax(15%, max-content) minmax(15%, auto);
    }
}

.summary-table>div,
.details-table>div {
    text-align: left;
    padding: 8px 3px 3px 7px;
}

.col-first,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name {
    vertical-align: top;
    padding-right: 0;
    padding-top: 8px;
    padding-bottom: 3px;
}

.table-header {
    background: var(--ds-product-color);
    color: #fff;
    font-weight: bold;
}

.col-first,
.col-first {
    font-size: 13px;
}

.col-second,
.col-second,
.col-last,
.col-constructor-name,
.col-summary-item-name,
.col-last {
    font-size: 13px;
}

.col-first,
.col-second,
.col-constructor-name {
    vertical-align: top;
    overflow: auto;
}

.col-last {
    white-space: normal;
}

.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-first a:link,
.col-first a:visited,
.col-second a:link,
.col-second a:visited,
.col-constructor-name a:link,
.col-constructor-name a:visited,
.col-summary-item-name a:link,
.col-summary-item-name a:visited,
.constant-values-container a:link,
.constant-values-container a:visited,
.all-classes-container a:link,
.all-classes-container a:visited,
.all-packages-container a:link,
.all-packages-container a:visited {
    font-weight: bold;
}

.table-sub-heading-color {
    background-color: #EEEEFF;
}

.even-row-color,
.even-row-color .table-header {
    background-color: #FFFFFF;
}

.odd-row-color,
.odd-row-color .table-header {
    background-color: #EEEEEF;
}

/*
 * Styles for contents.
 */
.deprecated-content {
    margin: 0;
    padding: 10px 0;
}

div.block {
    font-size: 14px;
}

.col-last div {
    padding-top: 0;
}

.col-last a {
    padding-bottom: 3px;
}

.module-signature,
.package-signature,
.type-signature,
.member-signature {
    font-size: 14px;
    margin: 14px 0;
    white-space: pre-wrap;
}

.module-signature,
.package-signature,
.type-signature {
    margin-top: 0;
}

.member-signature .type-parameters-long,
.member-signature .parameters,
.member-signature .exceptions {
    display: inline-block;
    vertical-align: top;
    white-space: pre;
}

.member-signature .type-parameters {
    white-space: normal;
}

/*
 * Styles for formatting effect.
 */
.source-line-no {
    color: green;
    padding: 0 30px 0 0;
}

h1.hidden {
    visibility: hidden;
    overflow: hidden;
    font-size: 10px;
}

.block {
    display: block;
    margin: 0 10px 5px 0;
    color: #474747;
}

.deprecated-label,
.descfrm-type-label,
.implementation-label,
.member-name-label,
.member-name-link,
.module-label-in-package,
.module-label-in-type,
.override-specify-label,
.package-label-in-type,
.package-hierarchy-label,
.type-name-label,
.type-name-link,
.search-tag-link,
.preview-label {
    font-weight: bold;
}

.deprecation-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

.preview-block {
    font-size: 14px;
    border-style: solid;
    border-width: thin;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    display: inline-block;
}

/*
 * Styles for user-provided tables.
 *
 * borderless:
 *      No borders, vertical margins, styled caption.
 *      This style is provided for use with existing doc comments.
 *      In general, borderless tables should not be used for layout purposes.
 *
 * plain:
 *      Plain borders around table and cells, vertical margins, styled caption.
 *      Best for small tables or for complex tables for tables with cells that span
 *      rows and columns, when the "striped" style does not work well.
 *
 * striped:
 *      Borders around the table and vertical borders between cells, striped rows,
 *      vertical margins, styled caption.
 *      Best for tables that have a header row, and a body containing a series of simple rows.
 */

table.borderless,
table.plain,
table.striped {
    margin-top: 10px;
    margin-bottom: 10px;
}

table.borderless>caption,
table.plain>caption,
table.striped>caption {
    font-weight: bold;
    font-size: smaller;
}

table.borderless th,
table.borderless td,
table.plain th,
table.plain td,
table.striped th,
table.striped td {
    padding: 2px 5px;
}

table.borderless,
table.borderless>thead>tr>th,
table.borderless>tbody>tr>th,
table.borderless>tr>th,
table.borderless>thead>tr>td,
table.borderless>tbody>tr>td,
table.borderless>tr>td {
    border: none;
}

table.borderless>thead>tr,
table.borderless>tbody>tr,
table.borderless>tr {
    background-color: transparent;
}

table.plain {
    border-collapse: collapse;
    border: 1px solid black;
}

table.plain>thead>tr,
table.plain>tbody tr,
table.plain>tr {
    background-color: transparent;
}

table.plain>thead>tr>th,
table.plain>tbody>tr>th,
table.plain>tr>th,
table.plain>thead>tr>td,
table.plain>tbody>tr>td,
table.plain>tr>td {
    border: 1px solid black;
}

table.striped {
    border-collapse: collapse;
    border: 1px solid black;
}

table.striped>thead {
    background-color: #E3E3E3;
}

table.striped>thead>tr>th,
table.striped>thead>tr>td {
    border: 1px solid black;
}

table.striped>tbody>tr:nth-child(even) {
    background-color: #EEE
}

table.striped>tbody>tr:nth-child(odd) {
    background-color: #FFF
}

table.striped>tbody>tr>th,
table.striped>tbody>tr>td {
    border-left: 1px solid black;
    border-right: 1px solid black;
}

table.striped>tbody>tr>th {
    font-weight: normal;
}
</style><h1>Interface IPageSetup</h1>
<!-- ======== START OF CLASS DATA ======== -->

<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public interface </span><span class="element-name type-name-label">IPageSetup</span></div>
<div class="block">Represents the page setup description.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#customPaperSize(double,double)" class="member-name-link">customPaperSize</a><wbr>(double&nbsp;width,
 double&nbsp;height)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the custom paper size, in unit of inches.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#fromJson(java.lang.String)" class="member-name-link">fromJson</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;json)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generate the page setup from the json.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getAlignMarginsHeaderFooter()" class="member-name-link">getAlignMarginsHeaderFooter</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the header and footer are aligned with the margins set in the page setup options.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBestFitColumns()" class="member-name-link">getBestFitColumns</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether column widths are adjusted to fit the longest text width for printing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBestFitRows()" class="member-name-link">getBestFitRows</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether row heights are adjusted to fit the tallest text height for printing.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBlackAndWhite()" class="member-name-link">getBlackAndWhite</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether elements of the document will be printed in black and white.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getBottomMargin()" class="member-name-link">getBottomMargin</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the bottom margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterFooter()" class="member-name-link">getCenterFooter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether center aligns the footer information in the PageSetup object.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterFooterPicture()" class="member-name-link">getCenterFooterPicture</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the centersection of the footer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterHeader()" class="member-name-link">getCenterHeader</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether center aligns the header information in the PageSetup object.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterHeaderPicture()" class="member-name-link">getCenterHeaderPicture</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the centersection of the header.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterHorizontally()" class="member-name-link">getCenterHorizontally</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the sheet is centered horizontally on the page when it's printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getCenterVertically()" class="member-name-link">getCenterVertically</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the sheet is centered vertically on the page when it's printed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getDifferentFirstPageHeaderFooter()" class="member-name-link">getDifferentFirstPageHeaderFooter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether a different header or footer is used on the first page.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getDraft()" class="member-name-link">getDraft</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the sheet will be printed without graphics.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPage.html" title="interface in com.grapecity.documents.excel">IPage</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getEvenPage()" class="member-name-link">getEvenPage</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the alignment of text on the even  <a href="IPage.html" title="interface in com.grapecity.documents.excel"><code>IPage</code></a> of a workbook orsection.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPage.html" title="interface in com.grapecity.documents.excel">IPage</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFirstPage()" class="member-name-link">getFirstPage</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the alignment of text on the first  <a href="IPage.html" title="interface in com.grapecity.documents.excel"><code>IPage</code></a> of a workbook orsection.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFirstPageNumber()" class="member-name-link">getFirstPageNumber</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the first page number that will be used when this sheet is printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFitToPagesTall()" class="member-name-link">getFitToPagesTall</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the number of pages tall the worksheet will be scaled to when it's printed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFitToPagesWide()" class="member-name-link">getFitToPagesWide</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the number of pages wide the worksheet will be scaled to when it's printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getFooterMargin()" class="member-name-link">getFooterMargin</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the footer margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getHeaderMargin()" class="member-name-link">getHeaderMargin</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the header margin, in points.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getIsAutoFirstPageNumber()" class="member-name-link">getIsAutoFirstPageNumber</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the first page number is automatically assigned.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getIsPercentScale()" class="member-name-link">getIsPercentScale</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the worksheet is scaled as a percentage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeftFooter()" class="member-name-link">getLeftFooter</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the alignment of text on the left footer of a workbook or section.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeftFooterPicture()" class="member-name-link">getLeftFooterPicture</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the leftsection of the footer.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeftHeader()" class="member-name-link">getLeftHeader</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the alignment of text on the left header of a workbook or section.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeftHeaderPicture()" class="member-name-link">getLeftHeaderPicture</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the leftsection of the header.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getLeftMargin()" class="member-name-link">getLeftMargin</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the left margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getOddAndEvenPagesHeaderFooter()" class="member-name-link">getOddAndEvenPagesHeaderFooter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Order.html" title="enum class in com.grapecity.documents.excel">Order</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getOrder()" class="member-name-link">getOrder</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="Order.html" title="enum class in com.grapecity.documents.excel"><code>Order</code></a> value that represents the orderuses to number pages when printing a large worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel">PageOrientation</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getOrientation()" class="member-name-link">getOrientation</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel"><code>PageOrientation</code></a> value that represents the portrait orlandscape printing mode.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPaperHeight()" class="member-name-link">getPaperHeight</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the height in inches of the paper, considered page orientation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PaperSize.html" title="enum class in com.grapecity.documents.excel">PaperSize</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPaperSize()" class="member-name-link">getPaperSize</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the paper.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPaperWidth()" class="member-name-link">getPaperWidth</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the width in inches of the paper, considered page orientation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintArea()" class="member-name-link">getPrintArea</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the range to be printed, as a string using A1-style references in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PrintLocation.html" title="enum class in com.grapecity.documents.excel">PrintLocation</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintComments()" class="member-name-link">getPrintComments</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the way comments are printed with the sheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintCopies()" class="member-name-link">getPrintCopies</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets number of copies to print.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PrintErrors.html" title="enum class in com.grapecity.documents.excel">PrintErrors</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintErrors()" class="member-name-link">getPrintErrors</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets an PrintErrors contstant specifying the type of print error displayed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintGridlines()" class="member-name-link">getPrintGridlines</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether cell gridlines are printed on the page.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintHeadings()" class="member-name-link">getPrintHeadings</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether row and column headings are printed with this page.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintNotes()" class="member-name-link">getPrintNotes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets whether cell notes are printed as end notes with the sheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintPageRange()" class="member-name-link">getPrintPageRange</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel">PrintQuality</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintQuality()" class="member-name-link">getPrintQuality</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel"><code>PrintQuality</code></a> value that represents the print quality ofthis page.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintTailColumns()" class="member-name-link">getPrintTailColumns</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintTailRows()" class="member-name-link">getPrintTailRows</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintTitleColumns()" class="member-name-link">getPrintTitleColumns</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getPrintTitleRows()" class="member-name-link">getPrintTitleRows</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRightFooter()" class="member-name-link">getRightFooter</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the distance (in points) between the right edge of the page and the right boundary of the footer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRightFooterPicture()" class="member-name-link">getRightFooterPicture</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the rightsection of the footer.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRightHeader()" class="member-name-link">getRightHeader</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the right part of the header.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRightHeaderPicture()" class="member-name-link">getRightHeaderPicture</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the rightsection of the header.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getRightMargin()" class="member-name-link">getRightMargin</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the right margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getScaleWithDocHeaderFooter()" class="member-name-link">getScaleWithDocHeaderFooter</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets if the header and footer should be scaled with the document when the size of the document changes.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getTopMargin()" class="member-name-link">getTopMargin</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets the size of the top margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#getZoom()" class="member-name-link">getZoom</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Gets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setAlignMarginsHeaderFooter(boolean)" class="member-name-link">setAlignMarginsHeaderFooter</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the header and footer should be aligned with the margins set in the page setup options.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBestFitColumns(boolean)" class="member-name-link">setBestFitColumns</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether column widths are adjusted to fit the longest text width for printing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBestFitRows(boolean)" class="member-name-link">setBestFitRows</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether row heights are adjusted to fit the tallest text height for printing.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBlackAndWhite(boolean)" class="member-name-link">setBlackAndWhite</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether elements of the document will be printed in black and white.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setBottomMargin(double)" class="member-name-link">setBottomMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the bottom margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCenterFooter(java.lang.String)" class="member-name-link">setCenterFooter</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether center aligns the footer information in the PageSetup object.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCenterHeader(java.lang.String)" class="member-name-link">setCenterHeader</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether center aligns the header information in the PageSetup object.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCenterHorizontally(boolean)" class="member-name-link">setCenterHorizontally</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the sheet is centered horizontally on the page when it's printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setCenterVertically(boolean)" class="member-name-link">setCenterVertically</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the sheet is centered vertically on the page when it's printed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setDifferentFirstPageHeaderFooter(boolean)" class="member-name-link">setDifferentFirstPageHeaderFooter</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether a different header or footer is used on the first page.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setDraft(boolean)" class="member-name-link">setDraft</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the sheet will be printed without graphics.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setFirstPageNumber(int)" class="member-name-link">setFirstPageNumber</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the first page number that will be used when this sheet is printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setFitToPagesTall(int)" class="member-name-link">setFitToPagesTall</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the number of pages tall the worksheet will be scaled to when it's printed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setFitToPagesWide(int)" class="member-name-link">setFitToPagesWide</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the number of pages wide the worksheet will be scaled to when it's printed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setFooterMargin(double)" class="member-name-link">setFooterMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the footer margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setHeaderMargin(double)" class="member-name-link">setHeaderMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the header margin, in points.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setIsAutoFirstPageNumber(boolean)" class="member-name-link">setIsAutoFirstPageNumber</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the first page number is automatically assigned.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setIsPercentScale(boolean)" class="member-name-link">setIsPercentScale</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the worksheet is scaled as a percentage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeftFooter(java.lang.String)" class="member-name-link">setLeftFooter</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the alignment of text on the left footer of a workbook or section.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeftHeader(java.lang.String)" class="member-name-link">setLeftHeader</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the alignment of text on the left header of a workbook or section.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setLeftMargin(double)" class="member-name-link">setLeftMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the left margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setOddAndEvenPagesHeaderFooter(boolean)" class="member-name-link">setOddAndEvenPagesHeaderFooter</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setOrder(com.grapecity.documents.excel.Order)" class="member-name-link">setOrder</a><wbr>(<a href="Order.html" title="enum class in com.grapecity.documents.excel">Order</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets a  <a href="Order.html" title="enum class in com.grapecity.documents.excel"><code>Order</code></a> value that represents the orderuses to number pages when printing a large worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setOrientation(com.grapecity.documents.excel.PageOrientation)" class="member-name-link">setOrientation</a><wbr>(<a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel">PageOrientation</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets a  <a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel"><code>PageOrientation</code></a> value that represents the portrait orlandscape printing mode.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPaperSize(com.grapecity.documents.excel.PaperSize)" class="member-name-link">setPaperSize</a><wbr>(<a href="PaperSize.html" title="enum class in com.grapecity.documents.excel">PaperSize</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the paper.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintArea(java.lang.String)" class="member-name-link">setPrintArea</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the range to be printed, as a string using A1-style references in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintComments(com.grapecity.documents.excel.PrintLocation)" class="member-name-link">setPrintComments</a><wbr>(<a href="PrintLocation.html" title="enum class in com.grapecity.documents.excel">PrintLocation</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the way comments are printed with the sheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintCopies(int)" class="member-name-link">setPrintCopies</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets number of copies to print.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintErrors(com.grapecity.documents.excel.PrintErrors)" class="member-name-link">setPrintErrors</a><wbr>(<a href="PrintErrors.html" title="enum class in com.grapecity.documents.excel">PrintErrors</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets an PrintErrors contstant specifying the type of print error displayed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintGridlines(boolean)" class="member-name-link">setPrintGridlines</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether cell gridlines are printed on the page.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintHeadings(boolean)" class="member-name-link">setPrintHeadings</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether row and column headings are printed with this page.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintNotes(boolean)" class="member-name-link">setPrintNotes</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets whether cell notes are printed as end notes with the sheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintPageRange(java.lang.String)" class="member-name-link">setPrintPageRange</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintQuality(com.grapecity.documents.excel.PrintQuality)" class="member-name-link">setPrintQuality</a><wbr>(<a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel">PrintQuality</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets a  <a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel"><code>PrintQuality</code></a> value that represents the print quality of thispage.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintTailColumns(java.lang.String)" class="member-name-link">setPrintTailColumns</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintTailRows(java.lang.String)" class="member-name-link">setPrintTailRows</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintTitleColumns(java.lang.String)" class="member-name-link">setPrintTitleColumns</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setPrintTitleRows(java.lang.String)" class="member-name-link">setPrintTitleRows</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRightFooter(java.lang.String)" class="member-name-link">setRightFooter</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the distance (in points) between the right edge of the page and the right boundary of the footer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRightHeader(java.lang.String)" class="member-name-link">setRightHeader</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the right part of the header.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setRightMargin(double)" class="member-name-link">setRightMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the right margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setScaleWithDocHeaderFooter(boolean)" class="member-name-link">setScaleWithDocHeaderFooter</a><wbr>(boolean&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets if the header and footer should be scaled with the document when the size of the document changes.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setTopMargin(double)" class="member-name-link">setTopMargin</a><wbr>(double&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets the size of the top margin, in points.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#setZoom(int)" class="member-name-link">setZoom</a><wbr>(int&nbsp;value)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#toJson()" class="member-name-link">toJson</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generate the json from page setup.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getPrintQuality()">
<h3>getPrintQuality</h3>
<div class="member-signature"><span class="return-type"><a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel">PrintQuality</a></span>&nbsp;<span class="element-name">getPrintQuality</span>()</div>
<div class="block">Gets a  <a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel"><code>PrintQuality</code></a> value that represents the print quality ofthis page. Default is 600 dpi.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintQuality(com.grapecity.documents.excel.PrintQuality)">
<h3>setPrintQuality</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintQuality</span><wbr><span class="parameters">(<a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel">PrintQuality</a>&nbsp;value)</span></div>
<div class="block">Sets a  <a href="PrintQuality.html" title="enum class in com.grapecity.documents.excel"><code>PrintQuality</code></a> value that represents the print quality of thispage. Default is 600 dpi.</div>
</section>
</li>
<li>
<section class="detail" id="getBlackAndWhite()">
<h3>getBlackAndWhite</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getBlackAndWhite</span>()</div>
<div class="block">Gets whether elements of the document will be printed in black and white.</div>
</section>
</li>
<li>
<section class="detail" id="setBlackAndWhite(boolean)">
<h3>setBlackAndWhite</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBlackAndWhite</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether elements of the document will be printed in black and white.</div>
</section>
</li>
<li>
<section class="detail" id="getLeftMargin()">
<h3>getLeftMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getLeftMargin</span>()</div>
<div class="block">Gets the size of the left margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setLeftMargin(double)">
<h3>setLeftMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeftMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the left margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getRightMargin()">
<h3>getRightMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getRightMargin</span>()</div>
<div class="block">Gets the size of the right margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setRightMargin(double)">
<h3>setRightMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRightMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the right margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getTopMargin()">
<h3>getTopMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getTopMargin</span>()</div>
<div class="block">Gets the size of the top margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setTopMargin(double)">
<h3>setTopMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setTopMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the top margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getBottomMargin()">
<h3>getBottomMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getBottomMargin</span>()</div>
<div class="block">Gets the size of the bottom margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setBottomMargin(double)">
<h3>setBottomMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBottomMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the bottom margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getHeaderMargin()">
<h3>getHeaderMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getHeaderMargin</span>()</div>
<div class="block">Gets the size of the header margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setHeaderMargin(double)">
<h3>setHeaderMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setHeaderMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the header margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getFooterMargin()">
<h3>getFooterMargin</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getFooterMargin</span>()</div>
<div class="block">Gets the size of the footer margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="setFooterMargin(double)">
<h3>setFooterMargin</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFooterMargin</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the size of the footer margin, in points.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterFooter()">
<h3>getCenterFooter</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getCenterFooter</span>()</div>
<div class="block">Gets whether center aligns the footer information in the PageSetup object.</div>
</section>
</li>
<li>
<section class="detail" id="setCenterFooter(java.lang.String)">
<h3>setCenterFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenterFooter</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets whether center aligns the footer information in the PageSetup object.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterHeader()">
<h3>getCenterHeader</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getCenterHeader</span>()</div>
<div class="block">Gets whether center aligns the header information in the PageSetup object.</div>
</section>
</li>
<li>
<section class="detail" id="setCenterHeader(java.lang.String)">
<h3>setCenterHeader</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenterHeader</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets whether center aligns the header information in the PageSetup object.</div>
</section>
</li>
<li>
<section class="detail" id="getLeftFooter()">
<h3>getLeftFooter</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getLeftFooter</span>()</div>
<div class="block">Gets the alignment of text on the left footer of a workbook or section.</div>
</section>
</li>
<li>
<section class="detail" id="setLeftFooter(java.lang.String)">
<h3>setLeftFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeftFooter</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the alignment of text on the left footer of a workbook or section.</div>
</section>
</li>
<li>
<section class="detail" id="getLeftHeader()">
<h3>getLeftHeader</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getLeftHeader</span>()</div>
<div class="block">Gets the alignment of text on the left header of a workbook or section.</div>
</section>
</li>
<li>
<section class="detail" id="setLeftHeader(java.lang.String)">
<h3>setLeftHeader</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setLeftHeader</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the alignment of text on the left header of a workbook or section.</div>
</section>
</li>
<li>
<section class="detail" id="getRightFooter()">
<h3>getRightFooter</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getRightFooter</span>()</div>
<div class="block">Gets the distance (in points) between the right edge of the page and the right boundary of the footer.</div>
</section>
</li>
<li>
<section class="detail" id="setRightFooter(java.lang.String)">
<h3>setRightFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRightFooter</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the distance (in points) between the right edge of the page and the right boundary of the footer.</div>
</section>
</li>
<li>
<section class="detail" id="getRightHeader()">
<h3>getRightHeader</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getRightHeader</span>()</div>
<div class="block">Gets the right part of the header.</div>
</section>
</li>
<li>
<section class="detail" id="setRightHeader(java.lang.String)">
<h3>setRightHeader</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRightHeader</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the right part of the header.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterHorizontally()">
<h3>getCenterHorizontally</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getCenterHorizontally</span>()</div>
<div class="block">Gets whether the sheet is centered horizontally on the page when it's printed.</div>
</section>
</li>
<li>
<section class="detail" id="setCenterHorizontally(boolean)">
<h3>setCenterHorizontally</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenterHorizontally</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the sheet is centered horizontally on the page when it's printed.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterVertically()">
<h3>getCenterVertically</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getCenterVertically</span>()</div>
<div class="block">Gets whether the sheet is centered vertically on the page when it's printed.</div>
</section>
</li>
<li>
<section class="detail" id="setCenterVertically(boolean)">
<h3>setCenterVertically</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCenterVertically</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the sheet is centered vertically on the page when it's printed.</div>
</section>
</li>
<li>
<section class="detail" id="getOddAndEvenPagesHeaderFooter()">
<h3>getOddAndEvenPagesHeaderFooter</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getOddAndEvenPagesHeaderFooter</span>()</div>
<div class="block">Gets whether the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages.</div>
</section>
</li>
<li>
<section class="detail" id="setOddAndEvenPagesHeaderFooter(boolean)">
<h3>setOddAndEvenPagesHeaderFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setOddAndEvenPagesHeaderFooter</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages.</div>
</section>
</li>
<li>
<section class="detail" id="getDifferentFirstPageHeaderFooter()">
<h3>getDifferentFirstPageHeaderFooter</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getDifferentFirstPageHeaderFooter</span>()</div>
<div class="block">Gets whether a different header or footer is used on the first page.</div>
</section>
</li>
<li>
<section class="detail" id="setDifferentFirstPageHeaderFooter(boolean)">
<h3>setDifferentFirstPageHeaderFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDifferentFirstPageHeaderFooter</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether a different header or footer is used on the first page.</div>
</section>
</li>
<li>
<section class="detail" id="getScaleWithDocHeaderFooter()">
<h3>getScaleWithDocHeaderFooter</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getScaleWithDocHeaderFooter</span>()</div>
<div class="block">Gets if the header and footer should be scaled with the document when the size of the document changes.</div>
</section>
</li>
<li>
<section class="detail" id="setScaleWithDocHeaderFooter(boolean)">
<h3>setScaleWithDocHeaderFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setScaleWithDocHeaderFooter</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets if the header and footer should be scaled with the document when the size of the document changes.</div>
</section>
</li>
<li>
<section class="detail" id="getAlignMarginsHeaderFooter()">
<h3>getAlignMarginsHeaderFooter</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getAlignMarginsHeaderFooter</span>()</div>
<div class="block">Gets whether the header and footer are aligned with the margins set in the page setup options.</div>
</section>
</li>
<li>
<section class="detail" id="setAlignMarginsHeaderFooter(boolean)">
<h3>setAlignMarginsHeaderFooter</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAlignMarginsHeaderFooter</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the header and footer should be aligned with the margins set in the page setup options.</div>
</section>
</li>
<li>
<section class="detail" id="getDraft()">
<h3>getDraft</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getDraft</span>()</div>
<div class="block">Gets whether the sheet will be printed without graphics.</div>
</section>
</li>
<li>
<section class="detail" id="setDraft(boolean)">
<h3>setDraft</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDraft</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the sheet will be printed without graphics.</div>
</section>
</li>
<li>
<section class="detail" id="getFirstPageNumber()">
<h3>getFirstPageNumber</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFirstPageNumber</span>()</div>
<div class="block">Gets the first page number that will be used when this sheet is printed. If Automatic, Document Solutions for Excel chooses the first page number. The default is Automatic.</div>
</section>
</li>
<li>
<section class="detail" id="setFirstPageNumber(int)">
<h3>setFirstPageNumber</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFirstPageNumber</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the first page number that will be used when this sheet is printed. If Automatic, Document Solutions for Excel chooses the first page number. The default is Automatic.</div>
</section>
</li>
<li>
<section class="detail" id="getIsAutoFirstPageNumber()">
<h3>getIsAutoFirstPageNumber</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getIsAutoFirstPageNumber</span>()</div>
<div class="block">Gets whether the first page number is automatically assigned. The default is true. When the first page number is specified, it returns false.</div>
</section>
</li>
<li>
<section class="detail" id="setIsAutoFirstPageNumber(boolean)">
<h3>setIsAutoFirstPageNumber</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setIsAutoFirstPageNumber</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the first page number is automatically assigned. The default is true.</div>
</section>
</li>
<li>
<section class="detail" id="getFitToPagesTall()">
<h3>getFitToPagesTall</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFitToPagesTall</span>()</div>
<div class="block">Gets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="setFitToPagesTall(int)">
<h3>setFitToPagesTall</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFitToPagesTall</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="getFitToPagesWide()">
<h3>getFitToPagesWide</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFitToPagesWide</span>()</div>
<div class="block">Gets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="setFitToPagesWide(int)">
<h3>setFitToPagesWide</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFitToPagesWide</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="getIsPercentScale()">
<h3>getIsPercentScale</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getIsPercentScale</span>()</div>
<div class="block">Gets whether the worksheet is scaled as a percentage.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if the worksheet is scaled as a percentage;False if the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setIsPercentScale(boolean)">
<h3>setIsPercentScale</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setIsPercentScale</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the worksheet is scaled as a percentage.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - If this property is true, the worksheet is scaled as a percentage;If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getOrder()">
<h3>getOrder</h3>
<div class="member-signature"><span class="return-type"><a href="Order.html" title="enum class in com.grapecity.documents.excel">Order</a></span>&nbsp;<span class="element-name">getOrder</span>()</div>
<div class="block">Gets a  <a href="Order.html" title="enum class in com.grapecity.documents.excel"><code>Order</code></a> value that represents the orderuses to number pages when printing a large worksheet.</div>
</section>
</li>
<li>
<section class="detail" id="setOrder(com.grapecity.documents.excel.Order)">
<h3>setOrder</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setOrder</span><wbr><span class="parameters">(<a href="Order.html" title="enum class in com.grapecity.documents.excel">Order</a>&nbsp;value)</span></div>
<div class="block">Sets a  <a href="Order.html" title="enum class in com.grapecity.documents.excel"><code>Order</code></a> value that represents the orderuses to number pages when printing a large worksheet.</div>
</section>
</li>
<li>
<section class="detail" id="getOrientation()">
<h3>getOrientation</h3>
<div class="member-signature"><span class="return-type"><a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel">PageOrientation</a></span>&nbsp;<span class="element-name">getOrientation</span>()</div>
<div class="block">Gets a  <a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel"><code>PageOrientation</code></a> value that represents the portrait orlandscape printing mode.</div>
</section>
</li>
<li>
<section class="detail" id="setOrientation(com.grapecity.documents.excel.PageOrientation)">
<h3>setOrientation</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setOrientation</span><wbr><span class="parameters">(<a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel">PageOrientation</a>&nbsp;value)</span></div>
<div class="block">Sets a  <a href="PageOrientation.html" title="enum class in com.grapecity.documents.excel"><code>PageOrientation</code></a> value that represents the portrait orlandscape printing mode.</div>
</section>
</li>
<li>
<section class="detail" id="getPaperSize()">
<h3>getPaperSize</h3>
<div class="member-signature"><span class="return-type"><a href="PaperSize.html" title="enum class in com.grapecity.documents.excel">PaperSize</a></span>&nbsp;<span class="element-name">getPaperSize</span>()</div>
<div class="block">Gets the size of the paper.</div>
</section>
</li>
<li>
<section class="detail" id="setPaperSize(com.grapecity.documents.excel.PaperSize)">
<h3>setPaperSize</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPaperSize</span><wbr><span class="parameters">(<a href="PaperSize.html" title="enum class in com.grapecity.documents.excel">PaperSize</a>&nbsp;value)</span></div>
<div class="block">Sets the size of the paper.</div>
</section>
</li>
<li>
<section class="detail" id="customPaperSize(double,double)">
<h3>customPaperSize</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">customPaperSize</span><wbr><span class="parameters">(double&nbsp;width,
 double&nbsp;height)</span></div>
<div class="block">Sets the custom paper size, in unit of inches.</div>
</section>
</li>
<li>
<section class="detail" id="getPaperWidth()">
<h3>getPaperWidth</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getPaperWidth</span>()</div>
<div class="block">Gets the width in inches of the paper, considered page orientation.</div>
</section>
</li>
<li>
<section class="detail" id="getPaperHeight()">
<h3>getPaperHeight</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getPaperHeight</span>()</div>
<div class="block">Sets the height in inches of the paper, considered page orientation.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintGridlines()">
<h3>getPrintGridlines</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getPrintGridlines</span>()</div>
<div class="block">Gets whether cell gridlines are printed on the page. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintGridlines(boolean)">
<h3>setPrintGridlines</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintGridlines</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether cell gridlines are printed on the page. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintHeadings()">
<h3>getPrintHeadings</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getPrintHeadings</span>()</div>
<div class="block">Gets whether row and column headings are printed with this page. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintHeadings(boolean)">
<h3>setPrintHeadings</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintHeadings</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether row and column headings are printed with this page. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintNotes()">
<h3>getPrintNotes</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getPrintNotes</span>()</div>
<div class="block">Gets whether cell notes are printed as end notes with the sheet. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintNotes(boolean)">
<h3>setPrintNotes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintNotes</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether cell notes are printed as end notes with the sheet. Applies only to worksheets.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintArea()">
<h3>getPrintArea</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintArea</span>()</div>
<div class="block">Gets the range to be printed, as a string using A1-style references in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintArea(java.lang.String)">
<h3>setPrintArea</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintArea</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the range to be printed, as a string using A1-style references in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintTitleColumns()">
<h3>getPrintTitleColumns</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintTitleColumns</span>()</div>
<div class="block">Gets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintTitleColumns(java.lang.String)">
<h3>setPrintTitleColumns</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintTitleColumns</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the columns that contain the cells to be repeated on the left side of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintTitleRows()">
<h3>getPrintTitleRows</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintTitleRows</span>()</div>
<div class="block">Gets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintTitleRows(java.lang.String)">
<h3>setPrintTitleRows</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintTitleRows</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the rows that contain the cells to be repeated at the top of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintTailColumns()">
<h3>getPrintTailColumns</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintTailColumns</span>()</div>
<div class="block">Gets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintTailColumns(java.lang.String)">
<h3>setPrintTailColumns</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintTailColumns</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the columns that contain the cells to be repeated on the right side of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintTailRows()">
<h3>getPrintTailRows</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintTailRows</span>()</div>
<div class="block">Gets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintTailRows(java.lang.String)">
<h3>setPrintTailRows</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintTailRows</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets the rows that contain the cells to be repeated on the bottom of each page, as a string in A1-style notation in the language of the macro.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintCopies()">
<h3>getPrintCopies</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getPrintCopies</span>()</div>
<div class="block">Gets number of copies to print.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintCopies(int)">
<h3>setPrintCopies</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintCopies</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets number of copies to print.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintPageRange()">
<h3>getPrintPageRange</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getPrintPageRange</span>()</div>
<div class="block">Gets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document. For example, type "1,3,5-12".</div>
</section>
</li>
<li>
<section class="detail" id="setPrintPageRange(java.lang.String)">
<h3>setPrintPageRange</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintPageRange</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;value)</span></div>
<div class="block">Sets range of pages to print, the numbers or page ranges are separated by commas counting from the beginning of the document. For example, type "1,3,5-12".</div>
</section>
</li>
<li>
<section class="detail" id="getZoom()">
<h3>getZoom</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getZoom</span>()</div>
<div class="block">Gets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing.</div>
</section>
</li>
<li>
<section class="detail" id="setZoom(int)">
<h3>setZoom</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setZoom</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets a Variant value that represents a percentage (between 10 and 400 percent) by which Document Solutions for Excel will scale the worksheet for printing.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintComments()">
<h3>getPrintComments</h3>
<div class="member-signature"><span class="return-type"><a href="PrintLocation.html" title="enum class in com.grapecity.documents.excel">PrintLocation</a></span>&nbsp;<span class="element-name">getPrintComments</span>()</div>
<div class="block">Gets the way comments are printed with the sheet.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintComments(com.grapecity.documents.excel.PrintLocation)">
<h3>setPrintComments</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintComments</span><wbr><span class="parameters">(<a href="PrintLocation.html" title="enum class in com.grapecity.documents.excel">PrintLocation</a>&nbsp;value)</span></div>
<div class="block">Sets the way comments are printed with the sheet.</div>
</section>
</li>
<li>
<section class="detail" id="getPrintErrors()">
<h3>getPrintErrors</h3>
<div class="member-signature"><span class="return-type"><a href="PrintErrors.html" title="enum class in com.grapecity.documents.excel">PrintErrors</a></span>&nbsp;<span class="element-name">getPrintErrors</span>()</div>
<div class="block">Gets an PrintErrors contstant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet.</div>
</section>
</li>
<li>
<section class="detail" id="setPrintErrors(com.grapecity.documents.excel.PrintErrors)">
<h3>setPrintErrors</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setPrintErrors</span><wbr><span class="parameters">(<a href="PrintErrors.html" title="enum class in com.grapecity.documents.excel">PrintErrors</a>&nbsp;value)</span></div>
<div class="block">Sets an PrintErrors contstant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterHeaderPicture()">
<h3>getCenterHeaderPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getCenterHeaderPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the centersection of the header. Used to set attributes about the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getCenterFooterPicture()">
<h3>getCenterFooterPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getCenterFooterPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the centersection of the footer. Used to set attributes about the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getLeftHeaderPicture()">
<h3>getLeftHeaderPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getLeftHeaderPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the leftsection of the header. Used to set attributes about the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getLeftFooterPicture()">
<h3>getLeftFooterPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getLeftFooterPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the leftsection of the footer. Used to set attributes about the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getRightHeaderPicture()">
<h3>getRightHeaderPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getRightHeaderPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the rightsection of the header. Used to set attributes of the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getRightFooterPicture()">
<h3>getRightFooterPicture</h3>
<div class="member-signature"><span class="return-type"><a href="IGraphic.html" title="interface in com.grapecity.documents.excel">IGraphic</a></span>&nbsp;<span class="element-name">getRightFooterPicture</span>()</div>
<div class="block">Gets a  <a href="IGraphic.html" title="interface in com.grapecity.documents.excel"><code>IGraphic</code></a> object that represents the picture for the rightsection of the footer. Used to set attributes of the picture.</div>
</section>
</li>
<li>
<section class="detail" id="getEvenPage()">
<h3>getEvenPage</h3>
<div class="member-signature"><span class="return-type"><a href="IPage.html" title="interface in com.grapecity.documents.excel">IPage</a></span>&nbsp;<span class="element-name">getEvenPage</span>()</div>
<div class="block">Gets the alignment of text on the even  <a href="IPage.html" title="interface in com.grapecity.documents.excel"><code>IPage</code></a> of a workbook orsection.</div>
</section>
</li>
<li>
<section class="detail" id="getFirstPage()">
<h3>getFirstPage</h3>
<div class="member-signature"><span class="return-type"><a href="IPage.html" title="interface in com.grapecity.documents.excel">IPage</a></span>&nbsp;<span class="element-name">getFirstPage</span>()</div>
<div class="block">Gets the alignment of text on the first  <a href="IPage.html" title="interface in com.grapecity.documents.excel"><code>IPage</code></a> of a workbook orsection.</div>
</section>
</li>
<li>
<section class="detail" id="getBestFitColumns()">
<h3>getBestFitColumns</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getBestFitColumns</span>()</div>
<div class="block">Gets whether column widths are adjusted to fit the longest text width for printing.</div>
</section>
</li>
<li>
<section class="detail" id="setBestFitColumns(boolean)">
<h3>setBestFitColumns</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBestFitColumns</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether column widths are adjusted to fit the longest text width for printing. May cause some efficiency problems if the file contains large amounts of data.</div>
</section>
</li>
<li>
<section class="detail" id="getBestFitRows()">
<h3>getBestFitRows</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getBestFitRows</span>()</div>
<div class="block">Gets whether row heights are adjusted to fit the tallest text height for printing.</div>
</section>
</li>
<li>
<section class="detail" id="setBestFitRows(boolean)">
<h3>setBestFitRows</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBestFitRows</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether row heights are adjusted to fit the tallest text height for printing. May cause some efficiency problems if the file contains large amounts of data.</div>
</section>
</li>
<li>
<section class="detail" id="fromJson(java.lang.String)">
<h3>fromJson</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">fromJson</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;json)</span></div>
<div class="block">Generate the page setup from the json.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>json</code> - The JSON string representing the page setup.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson()">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">toJson</span>()</div>
<div class="block">Generate the json from page setup.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The JSON string representing the page setup.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
<script>var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";

function show(tableId, selected, columns) {
    if (tableId !== selected) {
        document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')')
            .forEach(function (elem) {
                elem.style.display = 'none';
            });
    }
    document.querySelectorAll('div.' + selected)
        .forEach(function (elem, index) {
            elem.style.display = '';
            var isEvenRow = index % (columns * 2) < columns;
            elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor);
            elem.classList.add(isEvenRow ? evenRowColor : oddRowColor);
        });
    updateTabs(tableId, selected);
}

function updateTabs(tableId, selected) {
    document.querySelector('div#' + tableId + ' .summary-table')
        .setAttribute('aria-labelledby', selected);
    document.querySelectorAll('button[id^="' + tableId + '"]')
        .forEach(function (tab, index) {
            if (selected === tab.id || (tableId === selected && index === 0)) {
                tab.className = activeTableTab;
                tab.setAttribute('aria-selected', true);
                tab.setAttribute('tabindex', 0);
            } else {
                tab.className = tableTab;
                tab.setAttribute('aria-selected', false);
                tab.setAttribute('tabindex', -1);
            }
        });
}

function switchTab(e) {
    var selected = document.querySelector('[aria-selected=true]');
    if (selected) {
        if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) {
            // left or up arrow key pressed: move focus to previous tab
            selected.previousSibling.click();
            selected.previousSibling.focus();
            e.preventDefault();
        } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) {
            // right or down arrow key pressed: move focus to next tab
            selected.nextSibling.click();
            selected.nextSibling.focus();
            e.preventDefault();
        }
    }
}
</script></div>