# IWorksheet

## 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 IWorksheet</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">IWorksheet</span></div>
<div class="block">Represents a worksheet in a workbook.  <a href="IWorksheet.html" title="interface in com.grapecity.documents.excel"><code>IWorksheet</code></a> provides access to worksheet content, ranges, views, events, and protection features, which can be used to read and modify cell data, manage worksheet state, and perform worksheet-related operations. This interface is typically obtained through <a href="Workbook.html#getActiveSheet()"><code>Workbook.getActiveSheet()</code></a> or <a href="Workbook.html#getWorksheets()"><code>Workbook.getWorksheets()</code></a>.
 <pre><code data-language="Java">
 IWorksheet sheet = workbook.getActiveSheet();
 IRange range = sheet.getRange("A1:B2");
 range.setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 </code></pre></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 aria-orientation="horizontal" class="table-tabs" role="tablist"><button aria-controls="method-summary-table.tabpanel" aria-selected="true" class="active-table-tab" id="method-summary-table-tab0" onclick="show('method-summary-table', 'method-summary-table', 3)" onkeydown="switchTab(event)" role="tab" tabindex="0">All Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab2" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Instance Methods</button><button aria-controls="method-summary-table.tabpanel" aria-selected="false" class="table-tab" id="method-summary-table-tab3" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" onkeydown="switchTab(event)" role="tab" tabindex="-1">Abstract Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div aria-labelledby="method-summary-table-tab0" class="summary-table three-column-summary">
<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 class="member-name-link" href="#activate()">activate</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes this worksheet the active 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 class="member-name-link" href="#autoMerge(com.grapecity.documents.excel.IRange)">autoMerge</a><wbr>(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Applies auto merge to the specified range by using the default direction, mode, and selection 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 class="member-name-link" href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection)">autoMerge</a><wbr>(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Applies auto merge for a range.</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 class="member-name-link" href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode)">autoMerge</a><wbr>(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction,
 <a href="AutoMergeMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeMode</a>&nbsp;mode)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Applies auto merge for a range.</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 class="member-name-link" href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode,com.grapecity.documents.excel.AutoMergeSelectionMode)">autoMerge</a><wbr>(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction,
 <a href="AutoMergeMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeMode</a>&nbsp;mode,
 <a href="AutoMergeSelectionMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeSelectionMode</a>&nbsp;selectionMode)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Applies auto merge to the specified range using the given direction, mode, and selection mode.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#copy()">copy</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Copies the sheet to the end of the current workbook.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#copy(com.grapecity.documents.excel.IWorkbook)">copy</a><wbr>(<a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a>&nbsp;workbook)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Copies the sheet to the end of the specified workbook.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#copyAfter(com.grapecity.documents.excel.IWorksheet)">copyAfter</a><wbr>(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Copies the sheet to the location after the specified sheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#copyBefore(com.grapecity.documents.excel.IWorksheet)">copyBefore</a><wbr>(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Copies the sheet to the location before the specified 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 class="member-name-link" href="#delete()">delete</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Deletes this worksheet from its workbook.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#evaluate(java.lang.String)">evaluate</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Evaluates the specified Excel formula or named expression and returns the result.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#evaluate(java.lang.String,com.grapecity.documents.excel.IFormulaResolver)">evaluate</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula,
 <a href="IFormulaResolver.html" title="interface in com.grapecity.documents.excel">IFormulaResolver</a>&nbsp;resolver)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Evaluates the specified Excel formula or named expression by using a custom formula resolver and returns the result.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#evaluate2(java.lang.String)">evaluate2</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Evaluates the specified Excel formula or named expression and returns the result.</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 class="member-name-link" href="#freezePanes(int,int)">freezePanes</a><wbr>(int&nbsp;row,
 int&nbsp;column)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Freezes panes at the specified row and column positions.</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 class="member-name-link" href="#freezeTrailingPanes(int,int)">freezeTrailingPanes</a><wbr>(int&nbsp;row,
 int&nbsp;column)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets trailing frozen panes at the specified row and column positions.</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 class="member-name-link" href="#fromJson(java.io.InputStream)">fromJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a worksheet from the specified JSON stream.</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 class="member-name-link" href="#fromJson(java.io.InputStream,com.grapecity.documents.excel.DeserializationOptions)">fromJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel">DeserializationOptions</a>&nbsp;deserializationOptions)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a worksheet from the specified JSON stream using the provided deserialization 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 class="member-name-link" href="#fromJson(java.lang.String)">fromJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">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">Generates a worksheet from the specified JSON string.</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 class="member-name-link" href="#fromJson(java.lang.String,com.grapecity.documents.excel.DeserializationOptions)">fromJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;json,
 <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel">DeserializationOptions</a>&nbsp;deserializationOptions)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a worksheet from the specified JSON string using the provided deserialization options.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getActivatedEvent()">getActivatedEvent</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Occurs when the worksheet is activated.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getActiveCell()">getActiveCell</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 active cell.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPane.html" title="interface in com.grapecity.documents.excel">IPane</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getActivePane()">getActivePane</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 active pane of the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel">IAutoFilter</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAutoFilter()">getAutoFilter</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  <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> object for the worksheet.</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 class="member-name-link" href="#getAutoFilterMode()">getAutoFilterMode</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 AutoFilter drop-down arrows are currently displayed on the sheet.</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 class="member-name-link" href="#getAutoGenerateColumns()">getAutoGenerateColumns</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 columns are generated automatically when data is bound to the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util">List</a>&lt;<a href="IAutoMergeRangeInfo.html" title="interface in com.grapecity.documents.excel">IAutoMergeRangeInfo</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getAutoMergeRangesInfo()">getAutoMergeRangesInfo</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 list of  <a href="IAutoMergeRangeInfo.html" title="interface in com.grapecity.documents.excel"><code>IAutoMergeRangeInfo</code></a> objects that represent all auto merge range information in the current worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>byte[]</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBackgroundPicture()">getBackgroundPicture</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 background image data of the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="drawing/IBackgroundPictures.html" title="interface in com.grapecity.documents.excel.drawing">IBackgroundPictures</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBackgroundPictures()">getBackgroundPictures</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 collection of background pictures on the worksheet or chart sheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getBeforeDeleteEvent()">getBeforeDeleteEvent</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Occurs before the worksheet is deleted.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getCells()">getCells</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all cells in the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="BaseCellType.html" title="class in com.grapecity.documents.excel">BaseCellType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getCellType()">getCellType</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 cell type for the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="RangeEventArgs.html" title="class in com.grapecity.documents.excel">RangeEventArgs</a>&gt;&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getChangedEvent()">getChangedEvent</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Occurs when something changes in the cells.</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 class="member-name-link" href="#getColumnCount()">getColumnCount</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 current column count of the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getColumns()">getColumns</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all the columns on the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IComments.html" title="interface in com.grapecity.documents.excel">IComments</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getComments()">getComments</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  <a href="IComments.html" title="interface in com.grapecity.documents.excel"><code>IComments</code></a> collection that represents all the comments in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ICommentsThreaded.html" title="interface in com.grapecity.documents.excel">ICommentsThreaded</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getCommentsThreaded()">getCommentsThreaded</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  <a href="ICommentsThreaded.html" title="interface in com.grapecity.documents.excel"><code>ICommentsThreaded</code></a> collection that represents all threaded comments in the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="forms/IControlCollection.html" title="interface in com.grapecity.documents.excel.forms">IControlCollection</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getControls()">getControls</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 form control collection of this worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDataSource()">getDataSource</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 data source used for data binding in the current worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getDeactivatedEvent()">getDeactivatedEvent</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Occurs when the worksheet is deactivated.</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 class="member-name-link" href="#getFilterMode()">getFilterMode</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 currently in filter mode.</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 class="member-name-link" href="#getFixedPageBreaks()">getFixedPageBreaks</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 horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted.</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 class="member-name-link" href="#getFreezeColumn()">getFreezeColumn</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 frozen columns in the worksheet.</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 class="member-name-link" href="#getFreezeRow()">getFreezeRow</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 frozen rows in the worksheet.</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 class="member-name-link" href="#getFreezeTrailingColumn()">getFreezeTrailingColumn</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 trailing frozen columns in the worksheet.</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 class="member-name-link" href="#getFreezeTrailingRow()">getFreezeTrailingRow</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 trailing frozen rows in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Color.html" title="class in com.grapecity.documents.excel">Color</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getFrozenLineColor()">getFrozenLineColor</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 color of the frozen line.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IHPageBreaks.html" title="interface in com.grapecity.documents.excel">IHPageBreaks</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHPageBreaks()">getHPageBreaks</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 collection of horizontal page breaks within the print area.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IHyperlinks.html" title="interface in com.grapecity.documents.excel">IHyperlinks</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getHyperlinks()">getHyperlinks</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 collection of hyperlinks in the worksheet.</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 class="member-name-link" href="#getIndex()">getIndex</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 zero-based position of the worksheet in the workbook's worksheet collection.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getName()">getName</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 name of the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="INames.html" title="interface in com.grapecity.documents.excel">INames</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getNames()">getNames</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Returns the  <a href="INames.html" title="interface in com.grapecity.documents.excel"><code>INames</code></a> collection that represents all the worksheet-specific names (names defined with the "WorksheetName!" prefix).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IOutline.html" title="interface in com.grapecity.documents.excel">IOutline</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getOutline()">getOutline</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  <a href="IOutline.html" title="interface in com.grapecity.documents.excel"><code>IOutline</code></a> object that represents the outline for the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IOutlineColumn.html" title="interface in com.grapecity.documents.excel">IOutlineColumn</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getOutlineColumn()">getOutlineColumn</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 outline column for the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPageSetup.html" title="interface in com.grapecity.documents.excel">IPageSetup</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPageSetup()">getPageSetup</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  <a href="IPageSetup.html" title="interface in com.grapecity.documents.excel"><code>IPageSetup</code></a> object for this worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPanes.html" title="interface in com.grapecity.documents.excel">IPanes</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPanes()">getPanes</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 panes in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IPivotTables.html" title="interface in com.grapecity.documents.excel">IPivotTables</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getPivotTables()">getPivotTables</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 collection of PivotTable reports on the worksheet.</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 class="member-name-link" href="#getProtection()">getProtection</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 protection status of the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IProtectionSettings.html" title="interface in com.grapecity.documents.excel">IProtectionSettings</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getProtectionSettings()">getProtectionSettings</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 protection settings of the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRange(int,int)">getRange</a><wbr>(int&nbsp;row,
 int&nbsp;column)</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object for the cell at the specified row and column.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRange(int,int,int,int)">getRange</a><wbr>(int&nbsp;row,
 int&nbsp;column,
 int&nbsp;rowCount,
 int&nbsp;columnCount)</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object for the specified row, column, row count, and column count.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRange(java.lang.String)">getRange</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;reference)</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object with the specified reference.</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 class="member-name-link" href="#getRowCount()">getRowCount</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 row count of the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getRows()">getRows</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  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all rows in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IScenarios.html" title="interface in com.grapecity.documents.excel">IScenarios</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getScenarios()">getScenarios</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  <a href="IScenarios.html" title="interface in com.grapecity.documents.excel"><code>IScenarios</code></a> object that represents the collection of What-If analysis scenarios in the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSelection()">getSelection</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 current selection range on the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="RangeEventArgs.html" title="class in com.grapecity.documents.excel">RangeEventArgs</a>&gt;&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSelectionChangeEvent()">getSelectionChangeEvent</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Occurs when the selection changes on a worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="drawing/IShapes.html" title="interface in com.grapecity.documents.excel.drawing">IShapes</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getShapes()">getShapes</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  <a href="drawing/IShapes.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShapes</code></a> collection that contains all shapes on the worksheet or chart sheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheetView.html" title="interface in com.grapecity.documents.excel">IWorksheetView</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSheetView()">getSheetView</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 view settings of this worksheet.</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 class="member-name-link" href="#getShowColumnOutline()">getShowColumnOutline</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 outline symbols for grouped columns are 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 class="member-name-link" href="#getShowRowOutline()">getShowRowOutline</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 outline symbols for grouped rows are displayed.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ISort.html" title="interface in com.grapecity.documents.excel">ISort</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getSort()">getSort</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 sort settings for the current worksheet.</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 class="member-name-link" href="#getSplitColumn()">getSplitColumn</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 split column of the worksheet.</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 class="member-name-link" href="#getSplitRow()">getSplitRow</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 split row of the worksheet.</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 class="member-name-link" href="#getStandardHeight()">getStandardHeight</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 default row height for the worksheet, in points.</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 class="member-name-link" href="#getStandardHeightInPixel()">getStandardHeightInPixel</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 default row height for the worksheet, in pixels.</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 class="member-name-link" href="#getStandardWidth()">getStandardWidth</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 standard width, in points, for columns in the worksheet.</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 class="member-name-link" href="#getStandardWidthInPixel()">getStandardWidthInPixel</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 standard width, in pixels, for columns in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Color.html" title="class in com.grapecity.documents.excel">Color</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTabColor()">getTabColor</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 primary color of the worksheet tab.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="ITables.html" title="interface in com.grapecity.documents.excel">ITables</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTables()">getTables</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 collection of  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> objects in the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getTag()">getTag</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 custom tag associated with the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SheetType.html" title="enum class in com.grapecity.documents.excel">SheetType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getType()">getType</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 sheet type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getUsedRange()">getUsedRange</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 used range, its behavior is equivalent to getUsedRange(EnumSet.of(UsedRangeType.Axis, UsedRangeType.Data, UsedRangeType.Comment, UsedRangeType.Style, UsedRangeType.Merge)).</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getUsedRange(java.util.EnumSet)">getUsedRange</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/EnumSet.html" title="class or interface in java.util">EnumSet</a>&lt;<a href="UsedRangeType.html" title="enum class in com.grapecity.documents.excel">UsedRangeType</a>&gt;&nbsp;type)</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 used range for the specified feature types.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="Visibility.html" title="enum class in com.grapecity.documents.excel">Visibility</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getVisible()">getVisible</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 visibility state of the worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IVPageBreaks.html" title="interface in com.grapecity.documents.excel">IVPageBreaks</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getVPageBreaks()">getVPageBreaks</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 collection of vertical page breaks within the print area.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#getWorkbook()">getWorkbook</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  <a href="Workbook.html" title="class in com.grapecity.documents.excel"><code>Workbook</code></a> that contains this worksheet.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#move()">move</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Moves the worksheet to the end of the current workbook.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#move(com.grapecity.documents.excel.IWorkbook)">move</a><wbr>(<a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a>&nbsp;workbook)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Moves the sheet to the end of the specified workbook.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#moveAfter(com.grapecity.documents.excel.IWorksheet)">moveAfter</a><wbr>(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Moves the sheet to the location after the specified sheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#moveBefore(com.grapecity.documents.excel.IWorksheet)">moveBefore</a><wbr>(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Moves the sheet to the location before the specified 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 class="member-name-link" href="#protect()">protect</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Protects the worksheet so that it cannot be modified.</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 class="member-name-link" href="#protect(java.lang.String)">protect</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;password)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Protects the worksheet so that it cannot be modified.</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 class="member-name-link" href="#save(java.io.OutputStream,com.grapecity.documents.excel.SaveFileFormat)">save</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;fileStream,
 <a href="SaveFileFormat.html" title="enum class in com.grapecity.documents.excel">SaveFileFormat</a>&nbsp;fileFormat)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the current worksheet to the specified stream in the specified format.</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 class="member-name-link" href="#save(java.io.OutputStream,com.grapecity.documents.excel.SaveOptionsBase)">save</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;fileStream,
 <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel">SaveOptionsBase</a>&nbsp;options)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the current worksheet to the specified stream by using the specified save options.</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 class="member-name-link" href="#save(java.lang.String)">save</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the current worksheet to the specified file.</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 class="member-name-link" href="#save(java.lang.String,com.grapecity.documents.excel.SaveFileFormat)">save</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName,
 <a href="SaveFileFormat.html" title="enum class in com.grapecity.documents.excel">SaveFileFormat</a>&nbsp;fileFormat)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the current worksheet to the specified file in the specified format.</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 class="member-name-link" href="#save(java.lang.String,com.grapecity.documents.excel.SaveOptionsBase)">save</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName,
 <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel">SaveOptionsBase</a>&nbsp;options)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the current worksheet to the specified file by using the specified save 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 class="member-name-link" href="#select()">select</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Selects this worksheet.</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 class="member-name-link" href="#select(boolean)">select</a><wbr>(boolean&nbsp;replace)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Selects the 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 class="member-name-link" href="#setAutoFilterMode(boolean)">setAutoFilterMode</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 AutoFilter drop-down arrows are currently displayed on 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 class="member-name-link" href="#setAutoGenerateColumns(boolean)">setAutoGenerateColumns</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 columns are generated automatically when data is bound to the 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 class="member-name-link" href="#setBackgroundPicture(byte%5B%5D)">setBackgroundPicture</a><wbr>(byte[]&nbsp;picture)</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 background image data of the worksheet.</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 class="member-name-link" href="#setCellType(com.grapecity.documents.excel.BaseCellType)">setCellType</a><wbr>(<a href="BaseCellType.html" title="class in com.grapecity.documents.excel">BaseCellType</a>&nbsp;cellType)</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 worksheet-level cell type.</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 class="member-name-link" href="#setColumnCount(int)">setColumnCount</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 current column count of the worksheet.</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 class="member-name-link" href="#setDataSource(java.lang.Object)">setDataSource</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</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 data source used for data binding in the current 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 class="member-name-link" href="#setFixedPageBreaks(boolean)">setFixedPageBreaks</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 horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted.</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 class="member-name-link" href="#setFrozenLineColor(com.grapecity.documents.excel.Color)">setFrozenLineColor</a><wbr>(<a href="Color.html" title="class in com.grapecity.documents.excel">Color</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 color of the frozen line.</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 class="member-name-link" href="#setIndex(int)">setIndex</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">Moves the worksheet to the specified zero-based position in the workbook's worksheet collection.</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 class="member-name-link" href="#setName(java.lang.String)">setName</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">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 name of the 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 class="member-name-link" href="#setProtection(boolean)">setProtection</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 the protection status of the worksheet.</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 class="member-name-link" href="#setRowCount(int)">setRowCount</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 row count of the 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 class="member-name-link" href="#setShowColumnOutline(boolean)">setShowColumnOutline</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 outline symbols for grouped columns are displayed.</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 class="member-name-link" href="#setShowRowOutline(boolean)">setShowRowOutline</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 outline symbols for grouped rows are 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 class="member-name-link" href="#setStandardHeight(double)">setStandardHeight</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 default row height for the worksheet, 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 class="member-name-link" href="#setStandardHeightInPixel(double)">setStandardHeightInPixel</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 default row height for the worksheet, in pixels.</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 class="member-name-link" href="#setStandardWidth(double)">setStandardWidth</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 standard width, in points, for columns in the worksheet.</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 class="member-name-link" href="#setStandardWidthInPixel(double)">setStandardWidthInPixel</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 standard width, in pixels, for columns in the 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 class="member-name-link" href="#setTabColor(com.grapecity.documents.excel.Color)">setTabColor</a><wbr>(<a href="Color.html" title="class in com.grapecity.documents.excel">Color</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 primary color of the worksheet tab.</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 class="member-name-link" href="#setTag(java.lang.Object)">setTag</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a>&nbsp;tag)</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 tag associated with the 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 class="member-name-link" href="#setVisible(com.grapecity.documents.excel.Visibility)">setVisible</a><wbr>(<a href="Visibility.html" title="enum class in com.grapecity.documents.excel">Visibility</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 visibility state of the worksheet.</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 class="member-name-link" href="#showAllData()">showAllData</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Makes all rows in the currently filtered range visible.</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 class="member-name-link" href="#splitPanes(int,int)">splitPanes</a><wbr>(int&nbsp;row,
 int&nbsp;column)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Splits the worksheet into panes at the specified row and column positions.</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 class="member-name-link" href="#toImage(java.io.OutputStream,com.grapecity.documents.excel.drawing.ImageType)">toImage</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="drawing/ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;imageType)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the worksheet to the specified image stream.</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 class="member-name-link" href="#toImage(java.io.OutputStream,com.grapecity.documents.excel.drawing.ImageType,com.grapecity.documents.excel.ImageSaveOptions)">toImage</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="drawing/ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;imageType,
 <a href="ImageSaveOptions.html" title="class in com.grapecity.documents.excel">ImageSaveOptions</a>&nbsp;options)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the worksheet to the specified image stream using the provided image type and save options.</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 class="member-name-link" href="#toImage(java.lang.String)">toImage</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;imageFile)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the worksheet to the specified image file.</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 class="member-name-link" href="#toImage(java.lang.String,com.grapecity.documents.excel.ImageSaveOptions)">toImage</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;imageFile,
 <a href="ImageSaveOptions.html" title="class in com.grapecity.documents.excel">ImageSaveOptions</a>&nbsp;options)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Saves the worksheet to the specified image file using the provided save options.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#toJson()">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">Generates a JSON string from the worksheet.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a class="member-name-link" href="#toJson(com.grapecity.documents.excel.SerializationOptions)">toJson</a><wbr>(<a href="SerializationOptions.html" title="class in com.grapecity.documents.excel">SerializationOptions</a>&nbsp;serializationOptions)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a JSON string from the worksheet.</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 class="member-name-link" href="#toJson(java.io.OutputStream)">toJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a JSON stream from the 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 class="member-name-link" href="#toJson(java.io.OutputStream,com.grapecity.documents.excel.SerializationOptions)">toJson</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel">SerializationOptions</a>&nbsp;serializationOptions)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Generates a JSON stream from the worksheet.</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 class="member-name-link" href="#unfreezePanes()">unfreezePanes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Unfreezes panes.</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 class="member-name-link" href="#unfreezeTrailingPanes()">unfreezeTrailingPanes</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes trailing frozen panes.</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 class="member-name-link" href="#unprotect()">unprotect</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes worksheet protection when the worksheet was protected without a password.</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 class="member-name-link" href="#unprotect(java.lang.String)">unprotect</a><wbr>(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;password)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes worksheet protection by using the specified password.</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 class="member-name-link" href="#unsplitPanes()">unsplitPanes</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Removes pane splits from the worksheet.</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="getActivatedEvent()">
<h3>getActivatedEvent</h3>
<div class="member-signature"><span class="return-type"><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</span>&nbsp;<span class="element-name">getActivatedEvent</span>()</div>
<div class="block">Occurs when the worksheet is activated.
 <pre><code data-language="Java">
 IWorksheet detailSheet = workbook.getWorksheets().add();
 final String[] activatedSheetName = {null};
 detailSheet.getActivatedEvent().addListener(new EventHandler&lt;EventArgs&gt;() {
     public void invoke(Object sender, EventArgs e) {
         activatedSheetName[0] = ((IWorksheet)sender).getName();
     }
 });
 detailSheet.activate();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The event that occurs when the worksheet is activated.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBeforeDeleteEvent()">
<h3>getBeforeDeleteEvent</h3>
<div class="member-signature"><span class="return-type"><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</span>&nbsp;<span class="element-name">getBeforeDeleteEvent</span>()</div>
<div class="block">Occurs before the worksheet is deleted.
 <pre><code data-language="Java">
 IWorksheet detailSheet = workbook.getWorksheets().add();
 final String[] deletedSheetName = {null};
 detailSheet.getBeforeDeleteEvent().addListener(new EventHandler&lt;EventArgs&gt;() {
     public void invoke(Object sender, EventArgs e) {
         deletedSheetName[0] = ((IWorksheet)sender).getName();
     }
 });
 detailSheet.delete();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The event that occurs before the worksheet is deleted.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getChangedEvent()">
<h3>getChangedEvent</h3>
<div class="member-signature"><span class="return-type"><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="RangeEventArgs.html" title="class in com.grapecity.documents.excel">RangeEventArgs</a>&gt;&gt;</span>&nbsp;<span class="element-name">getChangedEvent</span>()</div>
<div class="block">Occurs when something changes in the cells.
 <pre><code data-language="Java">
 final String[] changedAddress = {null};
 worksheet.getChangedEvent().addListener(new EventHandler&lt;RangeEventArgs&gt;() {
     public void invoke(Object sender, RangeEventArgs e) {
         changedAddress[0] = e.getRange().getAddress();
     }
 });
 worksheet.getRange("B2").setValue("Updated");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The event that occurs when something changes in the cells.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDeactivatedEvent()">
<h3>getDeactivatedEvent</h3>
<div class="member-signature"><span class="return-type"><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="EventArgs.html" title="class in com.grapecity.documents.excel">EventArgs</a>&gt;&gt;</span>&nbsp;<span class="element-name">getDeactivatedEvent</span>()</div>
<div class="block">Occurs when the worksheet is deactivated.
 <pre><code data-language="Java">
 IWorksheet detailSheet = workbook.getWorksheets().add();
 final String[] deactivatedSheetName = {null};
 worksheet.getDeactivatedEvent().addListener(new EventHandler&lt;EventArgs&gt;() {
     public void invoke(Object sender, EventArgs e) {
         deactivatedSheetName[0] = ((IWorksheet)sender).getName();
     }
 });
 detailSheet.activate();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The event that occurs when the worksheet is deactivated.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSelectionChangeEvent()">
<h3>getSelectionChangeEvent</h3>
<div class="member-signature"><span class="return-type"><a href="Event.html" title="class in com.grapecity.documents.excel">Event</a>&lt;<a href="EventHandler.html" title="interface in com.grapecity.documents.excel">EventHandler</a>&lt;<a href="RangeEventArgs.html" title="class in com.grapecity.documents.excel">RangeEventArgs</a>&gt;&gt;</span>&nbsp;<span class="element-name">getSelectionChangeEvent</span>()</div>
<div class="block">Occurs when the selection changes on a worksheet.
 <pre><code data-language="Java">
 final String[] selectionAddress = {null};
 worksheet.getSelectionChangeEvent().addListener(new EventHandler&lt;RangeEventArgs&gt;() {
     public void invoke(Object sender, RangeEventArgs e) {
         selectionAddress[0] = e.getRange().getAddress();
     }
 });
 worksheet.getRange("C3:D4").select();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The event that occurs when the selection changes on a worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getControls()">
<h3>getControls</h3>
<div class="member-signature"><span class="return-type"><a href="forms/IControlCollection.html" title="interface in com.grapecity.documents.excel.forms">IControlCollection</a></span>&nbsp;<span class="element-name">getControls</span>()</div>
<div class="block">Gets the form control collection of this worksheet. <p>The returned  <a href="forms/IControlCollection.html" title="interface in com.grapecity.documents.excel.forms"><code>IControlCollection</code></a> provides access to the form controls contained in the worksheet, such as buttons, check boxes, and drop-down lists.</p>
<pre><code data-language="Java">
 worksheet.getControls().addButton(20, 20, 100, 24);
 IControlCollection controls = worksheet.getControls();
 IControl control = controls.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The form control collection of this worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSheetView()">
<h3>getSheetView</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheetView.html" title="interface in com.grapecity.documents.excel">IWorksheetView</a></span>&nbsp;<span class="element-name">getSheetView</span>()</div>
<div class="block">Gets the view settings of this worksheet. <p>Use the returned  <a href="IWorksheetView.html" title="interface in com.grapecity.documents.excel"><code>IWorksheetView</code></a> object to access worksheet display settings such as gridline visibility, reading direction, scroll position, zoom, and view type.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 IWorksheetView sheetView = worksheet.getSheetView();
 sheetView.setDisplayGridlines(false);
 sheetView.setZoom(150);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IWorksheetView.html" title="interface in com.grapecity.documents.excel"><code>IWorksheetView</code></a> object that represents the view settings of this worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVisible()">
<h3>getVisible</h3>
<div class="member-signature"><span class="return-type"><a href="Visibility.html" title="enum class in com.grapecity.documents.excel">Visibility</a></span>&nbsp;<span class="element-name">getVisible</span>()</div>
<div class="block">Gets the visibility state of the worksheet. <p>The returned value indicates whether the worksheet is currently shown, hidden, or very hidden.</p>
<pre><code data-language="Java">
 IWorksheet detailSheet = workbook.getWorksheets().add();
 detailSheet.setName("Detail");
 detailSheet.setVisible(Visibility.Hidden);
 Visibility visibility = detailSheet.getVisible();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The visibility state of the worksheet, such as <a href="Visibility.html#Visible"><code>Visibility.Visible</code></a>,  <a href="Visibility.html#Hidden"><code>Visibility.Hidden</code></a>, or  <a href="Visibility.html#VeryHidden"><code>Visibility.VeryHidden</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setVisible(com.grapecity.documents.excel.Visibility)">
<h3>setVisible</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setVisible</span><wbr><span class="parameters">(<a href="Visibility.html" title="enum class in com.grapecity.documents.excel">Visibility</a>&nbsp;value)</span></div>
<div class="block">Sets the visibility state of the worksheet. <p>Use this method to display the worksheet, hide it so that users can show it again,  or make it very hidden so that it cannot be shown directly through the user interface.</p>
<pre><code data-language="Java">
 IWorksheet detailSheet = workbook.getWorksheets().add();
 detailSheet.setName("Detail");
 detailSheet.setVisible(Visibility.Hidden);
 Visibility currentVisibility = detailSheet.getVisible();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The worksheet visibility state, such as <a href="Visibility.html#Visible"><code>Visibility.Visible</code></a>,  <a href="Visibility.html#Hidden"><code>Visibility.Hidden</code></a>, or  <a href="Visibility.html#VeryHidden"><code>Visibility.VeryHidden</code></a>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getActiveCell()">
<h3>getActiveCell</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getActiveCell</span>()</div>
<div class="block">Gets the active cell. <p>The active cell is returned as a single-cell  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a>. Returns  <code>null</code> if the worksheet does not have a current selection.</p>
<pre><code data-language="Java">
 worksheet.getRange("C3").activate();
 IRange cell = worksheet.getActiveCell();
 cell.setValue("Active");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>A single-cell <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the active cell, or <code>null</code> if the worksheet does not have a current selection.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoFilter()">
<h3>getAutoFilter</h3>
<div class="member-signature"><span class="return-type"><a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel">IAutoFilter</a></span>&nbsp;<span class="element-name">getAutoFilter</span>()</div>
<div class="block">Gets the  <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> object for the worksheet.<p>The returned object provides access to the filter range, filters, and sort settings  for the worksheet's AutoFilter. Returns  <code>null</code> if AutoFilter is not enabled on the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.getRange("A1:B3").autoFilter();
 IAutoFilter autoFilter = worksheet.getAutoFilter();
 IRange filterRange = autoFilter.getRange();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IAutoFilter.html" title="interface in com.grapecity.documents.excel"><code>IAutoFilter</code></a> object for the worksheet, or <code>null</code> if AutoFilter is not enabled.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoFilterMode()">
<h3>getAutoFilterMode</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getAutoFilterMode</span>()</div>
<div class="block">Gets whether the AutoFilter drop-down arrows are currently displayed on the sheet. <p>This property indicates whether the worksheet is showing the AutoFilter  drop-down buttons for filtered ranges.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.getRange("A1:B3").autoFilter();
 worksheet.setAutoFilterMode(true);
 boolean autoFilterMode = worksheet.getAutoFilterMode();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the AutoFilter drop-down arrows are currently displayed on the sheet; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAutoFilterMode(boolean)">
<h3>setAutoFilterMode</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAutoFilterMode</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the AutoFilter drop-down arrows are currently displayed on the sheet. <p>This property indicates whether the worksheet is showing the AutoFilter  drop-down buttons for filtered ranges.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.getRange("A1:B3").autoFilter();
 worksheet.setAutoFilterMode(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the AutoFilter drop-down arrows are currently displayed on the sheet; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColumns()">
<h3>getColumns</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getColumns</span>()</div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all the columns on the worksheet.<p>The returned range can be used to access or manipulate columns by index.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getRange("B1").setValue("Value");
 IRange columns = worksheet.getColumns();
 IRange firstColumn = columns.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all the columns on the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCells()">
<h3>getCells</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getCells</span>()</div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all cells in the worksheet.<p>The returned range covers the entire worksheet, including cells that are not currently in use.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getRange("B2").setValue(100);
 IRange cells = worksheet.getCells();
 IRange firstCell = cells.get(0, 0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>An <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all cells in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getComments()">
<h3>getComments</h3>
<div class="member-signature"><span class="return-type"><a href="IComments.html" title="interface in com.grapecity.documents.excel">IComments</a></span>&nbsp;<span class="element-name">getComments</span>()</div>
<div class="block">Gets the  <a href="IComments.html" title="interface in com.grapecity.documents.excel"><code>IComments</code></a> collection that represents all the comments in the worksheet.<p>Use this method to access and enumerate cell comments in the current worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("B2").addComment("Review this value");
 IComments comments = worksheet.getComments();
 IComment comment = comments.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IComments.html" title="interface in com.grapecity.documents.excel"><code>IComments</code></a> collection that represents all the comments in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCommentsThreaded()">
<h3>getCommentsThreaded</h3>
<div class="member-signature"><span class="return-type"><a href="ICommentsThreaded.html" title="interface in com.grapecity.documents.excel">ICommentsThreaded</a></span>&nbsp;<span class="element-name">getCommentsThreaded</span>()</div>
<div class="block">Gets the  <a href="ICommentsThreaded.html" title="interface in com.grapecity.documents.excel"><code>ICommentsThreaded</code></a> collection that represents all threaded comments in the worksheet.<p>Each item in the returned collection is an  <a href="ICommentThreaded.html" title="interface in com.grapecity.documents.excel"><code>ICommentThreaded</code></a> object. Threaded comments are stored in the collection in row-major order.</p>
<pre><code data-language="Java">
 worksheet.getRange("C3").addCommentThreaded("Review this value", "Alex");
 ICommentsThreaded commentsThreaded = worksheet.getCommentsThreaded();
 ICommentThreaded comment = commentsThreaded.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ICommentsThreaded.html" title="interface in com.grapecity.documents.excel"><code>ICommentsThreaded</code></a> collection that contains all threaded comments in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStandardWidth()">
<h3>getStandardWidth</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getStandardWidth</span>()</div>
<div class="block">Gets the standard width, in points, for columns in the worksheet. <p>This value represents the worksheet's default column width setting.</p>
<pre><code data-language="Java">
 worksheet.getRange("A:A").setUseStandardWidth(true);
 worksheet.setStandardWidth(72.0);
 double standardWidth = worksheet.getStandardWidth();
 double firstColumnWidth = worksheet.getRange("A:A").getColumnWidth();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The standard column width, in points.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStandardWidthInPixel()">
<h3>getStandardWidthInPixel</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getStandardWidthInPixel</span>()</div>
<div class="block">Gets the standard width, in pixels, for columns in the worksheet. <p>This value represents the worksheet's default column width setting in pixel units.</p>
<pre><code data-language="Java">
 worksheet.getRange("A:A").setUseStandardWidth(true);
 worksheet.setStandardWidthInPixel(80);
 double standardWidthInPixel = worksheet.getStandardWidthInPixel();
 double firstColumnWidthInPixel = worksheet.getRange("A:A").getColumnWidthInPixel();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The standard column width, in pixels.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setStandardWidth(double)">
<h3>setStandardWidth</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setStandardWidth</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the standard width, in points, for columns in the worksheet. <p>This value represents the worksheet's default column width setting.</p>
<pre><code data-language="Java">
 worksheet.getRange("A:A").setUseStandardWidth(true);
 worksheet.setStandardWidth(72.0);
 double firstColumnWidth = worksheet.getRange("A:A").getColumnWidth();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The standard column width, in points.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setStandardWidthInPixel(double)">
<h3>setStandardWidthInPixel</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setStandardWidthInPixel</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the standard width, in pixels, for columns in the worksheet. <p>This value represents the worksheet's default column width setting in pixel units.</p>
<pre><code data-language="Java">
 worksheet.getRange("A:A").setUseStandardWidth(true);
 worksheet.setStandardWidthInPixel(80);
 double firstColumnWidthInPixel = worksheet.getRange("A:A").getColumnWidthInPixel();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The standard column width, in pixels.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStandardHeight()">
<h3>getStandardHeight</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getStandardHeight</span>()</div>
<div class="block">Gets the default row height for the worksheet, in points. <p>To get the corresponding pixel value, use  <a href="#getStandardHeightInPixel()"><code>getStandardHeightInPixel()</code></a>.</p>
<pre><code data-language="Java">
 worksheet.setStandardHeight(18.0);
 double standardHeight = worksheet.getStandardHeight();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The default row height, in points.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getStandardHeightInPixel()">
<h3>getStandardHeightInPixel</h3>
<div class="member-signature"><span class="return-type">double</span>&nbsp;<span class="element-name">getStandardHeightInPixel</span>()</div>
<div class="block">Gets the default row height for the worksheet, in pixels. <p>To get the corresponding value in points, use  <a href="#getStandardHeight()"><code>getStandardHeight()</code></a>.</p>
<pre><code data-language="Java">
 worksheet.setStandardHeightInPixel(24.0);
 double standardHeightInPixel = worksheet.getStandardHeightInPixel();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The default row height, in pixels.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setStandardHeight(double)">
<h3>setStandardHeight</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setStandardHeight</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the default row height for the worksheet, in points.
 <pre><code data-language="Java">
 worksheet.setStandardHeight(18.0);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The default row height, in points.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setStandardHeightInPixel(double)">
<h3>setStandardHeightInPixel</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setStandardHeightInPixel</span><wbr><span class="parameters">(double&nbsp;value)</span></div>
<div class="block">Sets the default row height for the worksheet, in pixels.
 <pre><code data-language="Java">
 worksheet.setStandardHeightInPixel(24.0);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The default row height, in pixels.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFilterMode()">
<h3>getFilterMode</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getFilterMode</span>()</div>
<div class="block">Gets whether the worksheet is currently in filter mode. <p>Filter mode indicates that a filter has been applied and the worksheet is actively filtering data.  This differs from  <a href="#getAutoFilterMode()"><code>getAutoFilterMode()</code></a>, which indicates whether AutoFilter is enabled on the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200},
     {"C", 100}
 });
 worksheet.getRange("A1:B4").autoFilter(1, 100);
 boolean filterMode = worksheet.getFilterMode();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the worksheet is actively filtering data; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHyperlinks()">
<h3>getHyperlinks</h3>
<div class="member-signature"><span class="return-type"><a href="IHyperlinks.html" title="interface in com.grapecity.documents.excel">IHyperlinks</a></span>&nbsp;<span class="element-name">getHyperlinks</span>()</div>
<div class="block">Gets the collection of hyperlinks in the worksheet. <p>Use this method to access, add, and manage worksheet-level hyperlinks through the returned  <a href="IHyperlinks.html" title="interface in com.grapecity.documents.excel"><code>IHyperlinks</code></a> collection.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Example App");
 worksheet.getHyperlinks().add(worksheet.getRange("A1"), "https://www.example.com");
 IHyperlinks hyperlinks = worksheet.getHyperlinks();
 IHyperlink hyperlink = hyperlinks.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IHyperlinks.html" title="interface in com.grapecity.documents.excel"><code>IHyperlinks</code></a> collection that contains the hyperlinks in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getIndex()">
<h3>getIndex</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getIndex</span>()</div>
<div class="block">Gets the zero-based position of the worksheet in the workbook's worksheet collection. <p>The returned value reflects the current worksheet order in the collection.</p>
<pre><code data-language="Java">
 workbook.getWorksheets().add();
 IWorksheet secondSheet = workbook.getWorksheets().get(1);
 int index = secondSheet.getIndex();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The zero-based position of the worksheet in the workbook's worksheet collection.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setIndex(int)">
<h3>setIndex</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setIndex</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Moves the worksheet to the specified zero-based position in the workbook's worksheet collection.
 <pre><code data-language="Java">
 workbook.getWorksheets().add();
 IWorksheet secondSheet = workbook.getWorksheets().get(1);
 secondSheet.setIndex(0);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The zero-based position of the worksheet in the workbook's worksheet collection.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRowCount()">
<h3>getRowCount</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getRowCount</span>()</div>
<div class="block">Gets the row count of the worksheet. <p>This value represents the current number of rows available in the worksheet.</p>
<pre><code data-language="Java">
 worksheet.setRowCount(20);
 int rowCount = worksheet.getRowCount();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The row count of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setRowCount(int)">
<h3>setRowCount</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setRowCount</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the row count of the worksheet. <p>This value represents the current number of rows available in the worksheet.</p>
<pre><code data-language="Java">
 worksheet.setRowCount(20);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The row count of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getColumnCount()">
<h3>getColumnCount</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getColumnCount</span>()</div>
<div class="block">Gets the current column count of the worksheet. <p>This value represents the number of columns currently defined on the worksheet.  It reflects the value set through  <a href="#setColumnCount(int)"><code>setColumnCount(int)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.setColumnCount(12);
 int columnCount = worksheet.getColumnCount();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current number of columns in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setColumnCount(int)">
<h3>setColumnCount</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setColumnCount</span><wbr><span class="parameters">(int&nbsp;value)</span></div>
<div class="block">Sets the current column count of the worksheet.
 <pre><code data-language="Java">
 worksheet.setColumnCount(12);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The current number of columns in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBackgroundPicture()">
<h3>getBackgroundPicture</h3>
<div class="member-signature"><span class="return-type">byte[]</span>&nbsp;<span class="element-name">getBackgroundPicture</span>()</div>
<div class="block">Gets the background image data of the worksheet.
 <pre><code data-language="Java">
 byte[] picture = java.nio.file.Files.readAllBytes(java.nio.file.Paths.get("background.png"));
 worksheet.setBackgroundPicture(picture);
 byte[] backgroundPicture = worksheet.getBackgroundPicture();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>A byte array that contains the worksheet background image data, or an empty byte array if no background image is set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setBackgroundPicture(byte[])">
<h3>setBackgroundPicture</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setBackgroundPicture</span><wbr><span class="parameters">(byte[]&nbsp;picture)</span></div>
<div class="block">Sets the background image data of the worksheet.
 <pre><code data-language="Java">
 byte[] picture = java.nio.file.Files.readAllBytes(java.nio.file.Paths.get("background.png"));
 worksheet.setBackgroundPicture(picture);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>picture</code> - A byte array that contains the background image data, or  <code>null</code> to remove the background image.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getName()">
<h3>getName</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">getName</span>()</div>
<div class="block">Gets the name of the worksheet. <p>This property returns the display name used to identify the worksheet in the workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Summary");
 String name = worksheet.getName();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The name of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setName(java.lang.String)">
<h3>setName</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setName</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;value)</span></div>
<div class="block">Sets the name of the worksheet. <p>This property Sets the display name used to identify the worksheet in the workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Summary");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The name of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getNames()">
<h3>getNames</h3>
<div class="member-signature"><span class="return-type"><a href="INames.html" title="interface in com.grapecity.documents.excel">INames</a></span>&nbsp;<span class="element-name">getNames</span>()</div>
<div class="block">Returns the  <a href="INames.html" title="interface in com.grapecity.documents.excel"><code>INames</code></a> collection that represents all the worksheet-specific names (names defined with the "WorksheetName!" prefix).
 <pre><code data-language="Java">
 worksheet.getNames().add("LocalTotal", "=Sheet1!$A$1");
 INames names = worksheet.getNames();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="INames.html" title="interface in com.grapecity.documents.excel"><code>INames</code></a> collection that represents all worksheet-specific names (names defined with the "WorksheetName!" prefix).</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getOutline()">
<h3>getOutline</h3>
<div class="member-signature"><span class="return-type"><a href="IOutline.html" title="interface in com.grapecity.documents.excel">IOutline</a></span>&nbsp;<span class="element-name">getOutline</span>()</div>
<div class="block">Gets the  <a href="IOutline.html" title="interface in com.grapecity.documents.excel"><code>IOutline</code></a> object that represents the outline for the worksheet.<p>Use the returned outline object to access and configure worksheet outline settings  for grouped rows and columns.</p>
<pre><code data-language="Java">
 IOutline outline = worksheet.getOutline();
 outline.showLevels(1, 0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IOutline.html" title="interface in com.grapecity.documents.excel"><code>IOutline</code></a> object for the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowRowOutline()">
<h3>getShowRowOutline</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowRowOutline</span>()</div>
<div class="block">Gets whether outline symbols for grouped rows are displayed. <p>This setting applies to SpreadJS (SJS) serialization and viewing scenarios.</p>
<pre><code data-language="Java">
 worksheet.setShowRowOutline(false);
 boolean showRowOutline = worksheet.getShowRowOutline();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if outline symbols for grouped rows are displayed; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowRowOutline(boolean)">
<h3>setShowRowOutline</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowRowOutline</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether outline symbols for grouped rows are displayed. <p>This setting applies to SpreadJS (SJS) serialization and viewing scenarios.</p>
<pre><code data-language="Java">
 worksheet.setShowRowOutline(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if outline symbols for grouped rows are displayed; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShowColumnOutline()">
<h3>getShowColumnOutline</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getShowColumnOutline</span>()</div>
<div class="block">Gets whether outline symbols for grouped columns are displayed. <p>This setting applies to SpreadJS (SJS) serialization and viewing scenarios.</p>
<pre><code data-language="Java">
 worksheet.setShowColumnOutline(false);
 boolean showColumnOutline = worksheet.getShowColumnOutline();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if outline symbols for grouped columns are displayed; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setShowColumnOutline(boolean)">
<h3>setShowColumnOutline</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setShowColumnOutline</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether outline symbols for grouped columns are displayed. <p>This setting applies to SpreadJS (SJS) serialization and viewing scenarios.</p>
<pre><code data-language="Java">
 worksheet.setShowColumnOutline(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if outline symbols for grouped columns are displayed; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPivotTables()">
<h3>getPivotTables</h3>
<div class="member-signature"><span class="return-type"><a href="IPivotTables.html" title="interface in com.grapecity.documents.excel">IPivotTables</a></span>&nbsp;<span class="element-name">getPivotTables</span>()</div>
<div class="block">Gets the collection of PivotTable reports on the worksheet. <p>Use this method to access existing PivotTable reports on the worksheet or to add new ones through the returned  <a href="IPivotTables.html" title="interface in com.grapecity.documents.excel"><code>IPivotTables</code></a> collection.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Category", "Amount"},
     {"Beverages", 100},
     {"Snacks", 200}
 });
 IPivotCache pivotCache = workbook.getPivotCaches().create(worksheet.getRange("A1:B3"));
 worksheet.getPivotTables().add(pivotCache, worksheet.getRange("D1"), "SalesPivot");
 IPivotTables pivotTables = worksheet.getPivotTables();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPivotTables.html" title="interface in com.grapecity.documents.excel"><code>IPivotTables</code></a> collection that contains all PivotTable reports on the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRange(java.lang.String)">
<h3>getRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getRange</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;reference)</span></div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object with the specified reference.<p>Use this method to access a single cell, a contiguous cell range, or a non-contiguous range by using an A1-style reference string.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getRange("B1").setValue(100);
 IRange range = worksheet.getRange("A1:B1");
 range.getInterior().setColor(Color.GetLightYellow());
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>reference</code> - The A1-style reference string that identifies the target cell or range.</dd>
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the specified reference.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRange(int,int)">
<h3>getRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getRange</span><wbr><span class="parameters">(int&nbsp;row,
 int&nbsp;column)</span></div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object for the cell at the specified row and column.<p>Use this method to access a single cell by its zero-based row and column indexes.  For example,  <code>(0, 0)</code> refers to cell A1.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 IRange cell = worksheet.getRange(0, 1);
 cell.setValue(100);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - The zero-based row index of the cell.</dd>
<dd><code>column</code> - The zero-based column index of the cell.</dd>
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the cell at the specified row and column.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRange(int,int,int,int)">
<h3>getRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getRange</span><wbr><span class="parameters">(int&nbsp;row,
 int&nbsp;column,
 int&nbsp;rowCount,
 int&nbsp;columnCount)</span></div>
<div class="block">Gets the  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object for the specified row, column, row count, and column count.<p>Use this method to access a rectangular range by its top-left cell and size.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange(0, 0, 2, 2);
 range.setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - The starting row of the range.</dd>
<dd><code>column</code> - The starting column of the range.</dd>
<dd><code>rowCount</code> - The number of rows in the range.</dd>
<dd><code>columnCount</code> - The number of columns in the range.</dd>
<dt>Returns:</dt>
<dd>The <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that starts at the specified row and column and spans the specified number of rows and columns.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSelection()">
<h3>getSelection</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getSelection</span>()</div>
<div class="block">Gets the current selection range on the worksheet. <p>Returns an  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> that represents the currently selected cells. If the selection contains multiple areas, the returned range represents all selected areas.  Returns  <code>null</code> if the worksheet has no selection.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").select();
 IRange selection = worksheet.getSelection();
 selection.setValue("Selected");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The current selection range, or <code>null</code> if the worksheet has no selection.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getShapes()">
<h3>getShapes</h3>
<div class="member-signature"><span class="return-type"><a href="drawing/IShapes.html" title="interface in com.grapecity.documents.excel.drawing">IShapes</a></span>&nbsp;<span class="element-name">getShapes</span>()</div>
<div class="block">Gets the  <a href="drawing/IShapes.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShapes</code></a> collection that contains all shapes on the worksheet or chart sheet.<p>Use this method to access and manage drawing objects such as shapes, pictures, and charts associated with the current sheet.</p>
<pre><code data-language="Java">
 worksheet.getShapes().addShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
 IShapes shapes = worksheet.getShapes();
 IShape shape = shapes.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="drawing/IShapes.html" title="interface in com.grapecity.documents.excel.drawing"><code>IShapes</code></a> collection for the current worksheet or chart sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getBackgroundPictures()">
<h3>getBackgroundPictures</h3>
<div class="member-signature"><span class="return-type"><a href="drawing/IBackgroundPictures.html" title="interface in com.grapecity.documents.excel.drawing">IBackgroundPictures</a></span>&nbsp;<span class="element-name">getBackgroundPictures</span>()</div>
<div class="block">Gets the collection of background pictures on the worksheet or chart sheet. <p>The returned  <a href="drawing/IBackgroundPictures.html" title="interface in com.grapecity.documents.excel.drawing"><code>IBackgroundPictures</code></a> object provides access to all <a href="drawing/IBackgroundPicture.html" title="interface in com.grapecity.documents.excel.drawing"><code>IBackgroundPicture</code></a> objects associated with the sheet.</p>
<pre><code data-language="Java">
 IBackgroundPictures backgroundPictures = worksheet.getBackgroundPictures();
 try (InputStream stream = createSampleImageStream()) {
     IBackgroundPicture createdPicture = backgroundPictures.addPicture(stream, ImageType.PNG, 12, 18, 120, 80);
     createdPicture.setName("Watermark");
 }
 int count = backgroundPictures.getCount();
 IBackgroundPicture picture = backgroundPictures.get(0);
 IBackgroundPicture namedPicture = backgroundPictures.get("Watermark");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The collection of background pictures on the worksheet or chart sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSort()">
<h3>getSort</h3>
<div class="member-signature"><span class="return-type"><a href="ISort.html" title="interface in com.grapecity.documents.excel">ISort</a></span>&nbsp;<span class="element-name">getSort</span>()</div>
<div class="block">Gets the sort settings for the current worksheet. <p>Returns an  <a href="ISort.html" title="interface in com.grapecity.documents.excel"><code>ISort</code></a> object that you can use to configure the sort range, sort fields, and sort orientation before calling  <a href="ISort.html#apply()"><code>ISort.apply()</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:A4").setValue(new Object[][] {{5}, {3}, {4}, {2}});
 ISort sort = worksheet.getSort();
 sort.setRange(worksheet.getRange("A1:A4"));
 sort.getSortFields().add(new ValueSortField(worksheet.getRange("A1:A4")));
 sort.apply();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The sort settings for the current worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTabColor()">
<h3>getTabColor</h3>
<div class="member-signature"><span class="return-type"><a href="Color.html" title="class in com.grapecity.documents.excel">Color</a></span>&nbsp;<span class="element-name">getTabColor</span>()</div>
<div class="block">Gets the primary color of the worksheet tab. <p>Use this method to retrieve the color currently applied to the tab. To change  the tab color, use  <a href="#setTabColor(com.grapecity.documents.excel.Color)"><code>setTabColor(Color)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.setTabColor(Color.GetBlue());
 Color tabColor = worksheet.getTabColor();
 worksheet.getRange("A1").setValue(tabColor.toString());
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The primary color of the worksheet tab.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTabColor(com.grapecity.documents.excel.Color)">
<h3>setTabColor</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setTabColor</span><wbr><span class="parameters">(<a href="Color.html" title="class in com.grapecity.documents.excel">Color</a>&nbsp;value)</span></div>
<div class="block">Sets the primary color of the worksheet tab.
 <pre><code data-language="Java">
 worksheet.setTabColor(Color.GetBlue());
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The primary color of the worksheet tab.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTables()">
<h3>getTables</h3>
<div class="member-signature"><span class="return-type"><a href="ITables.html" title="interface in com.grapecity.documents.excel">ITables</a></span>&nbsp;<span class="element-name">getTables</span>()</div>
<div class="block">Gets the collection of  <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> objects in the worksheet.<p>Use the returned  <a href="ITables.html" title="interface in com.grapecity.documents.excel"><code>ITables</code></a> collection to create, access, and manage tables defined on the current worksheet. The collection can be empty if the  worksheet does not contain any tables.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Tea", 100},
     {"Coffee", 200}
 });
 ITables tables = worksheet.getTables();
 ITable salesTable = tables.add(worksheet.getRange("A1:B3"), true);
 ITable firstTable = tables.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="ITables.html" title="interface in com.grapecity.documents.excel"><code>ITables</code></a> collection that contains all <a href="ITable.html" title="interface in com.grapecity.documents.excel"><code>ITable</code></a> objects in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getWorkbook()">
<h3>getWorkbook</h3>
<div class="member-signature"><span class="return-type"><a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a></span>&nbsp;<span class="element-name">getWorkbook</span>()</div>
<div class="block">Gets the  <a href="Workbook.html" title="class in com.grapecity.documents.excel"><code>Workbook</code></a> that contains this worksheet.<p>Use this method to access workbook-level settings, collections, and operations  from the current worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 IWorkbook workbook = worksheet.getWorkbook();
 workbook.getWorksheets().add();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The workbook that contains this worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProtectionSettings()">
<h3>getProtectionSettings</h3>
<div class="member-signature"><span class="return-type"><a href="IProtectionSettings.html" title="interface in com.grapecity.documents.excel">IProtectionSettings</a></span>&nbsp;<span class="element-name">getProtectionSettings</span>()</div>
<div class="block">Gets the protection settings of the worksheet. <p>Returns an  <a href="IProtectionSettings.html" title="interface in com.grapecity.documents.excel"><code>IProtectionSettings</code></a> object that provides access to the worksheet protection options. Changes to the returned settings take effect  only when the worksheet is protected.</p>
<pre><code data-language="Java">
 worksheet.setProtection(true);
 IProtectionSettings protectionSettings = worksheet.getProtectionSettings();
 protectionSettings.setAllowFiltering(true);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IProtectionSettings.html" title="interface in com.grapecity.documents.excel"><code>IProtectionSettings</code></a> object that represents the protection options of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProtection()">
<h3>getProtection</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getProtection</span>()</div>
<div class="block">Gets the protection status of the worksheet. <p>This property indicates whether worksheet protection is enabled.</p>
<pre><code data-language="Java">
 worksheet.setProtection(true);
 boolean protection = worksheet.getProtection();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the worksheet is protected; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setProtection(boolean)">
<h3>setProtection</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setProtection</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets the protection status of the worksheet. <p>This property indicates whether worksheet protection is enabled.</p>
<pre><code data-language="Java">
 worksheet.setProtection(true);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the worksheet is protected; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getRows()">
<h3>getRows</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getRows</span>()</div>
<div class="block">Gets an  <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all rows in the worksheet.<p>You can use the returned range to access individual rows by index and  perform row-level operations.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getRange("B1").setValue("Value");
 IRange rows = worksheet.getRows();
 IRange firstRow = rows.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>An <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents all rows in the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFreezeRow()">
<h3>getFreezeRow</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFreezeRow</span>()</div>
<div class="block">Gets the number of frozen rows in the worksheet. <p>This method returns the row position specified by  <a href="#freezePanes(int,int)"><code>freezePanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have frozen panes.</p>
<pre><code data-language="Java">
 worksheet.freezePanes(2, 1);
 int frozenRow = worksheet.getFreezeRow();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The number of frozen rows in the worksheet. Returns <code>0</code> if the worksheet does not have frozen panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFreezeColumn()">
<h3>getFreezeColumn</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFreezeColumn</span>()</div>
<div class="block">Gets the number of frozen columns in the worksheet. <p>This method returns the column position specified by  <a href="#freezePanes(int,int)"><code>freezePanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have frozen panes.</p>
<pre><code data-language="Java">
 worksheet.freezePanes(1, 2);
 int frozenColumn = worksheet.getFreezeColumn();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The number of frozen columns in the worksheet. Returns <code>0</code> if the worksheet does not have frozen panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFrozenLineColor()">
<h3>getFrozenLineColor</h3>
<div class="member-signature"><span class="return-type"><a href="Color.html" title="class in com.grapecity.documents.excel">Color</a></span>&nbsp;<span class="element-name">getFrozenLineColor</span>()</div>
<div class="block">Gets the color of the frozen line. <p>This property returns the color used to display the divider between frozen and unfrozen panes.  If no frozen line color has been set, this method returns  <code>null</code>.</p>
<pre><code data-language="Java">
 worksheet.freezePanes(2, 1);
 worksheet.setFrozenLineColor(Color.GetRed());
 Color frozenLineColor = worksheet.getFrozenLineColor();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The color of the frozen line, or <code>null</code> if no frozen line color has been set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFreezeTrailingRow()">
<h3>getFreezeTrailingRow</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFreezeTrailingRow</span>()</div>
<div class="block">Gets the number of trailing frozen rows in the worksheet. <p>This method returns the trailing frozen row position specified by  <a href="#freezeTrailingPanes(int,int)"><code>freezeTrailingPanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have trailing frozen panes.</p>
<pre><code data-language="Java">
 worksheet.freezeTrailingPanes(2, 1);
 int trailingFrozenRow = worksheet.getFreezeTrailingRow();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The number of trailing frozen rows in the worksheet. Returns <code>0</code> if the worksheet does not have trailing frozen panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFreezeTrailingColumn()">
<h3>getFreezeTrailingColumn</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getFreezeTrailingColumn</span>()</div>
<div class="block">Gets the number of trailing frozen columns in the worksheet. <p>This method returns the trailing frozen column position specified by  <a href="#freezeTrailingPanes(int,int)"><code>freezeTrailingPanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have trailing frozen panes.</p>
<pre><code data-language="Java">
 worksheet.freezeTrailingPanes(1, 2);
 int trailingFrozenColumn = worksheet.getFreezeTrailingColumn();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The number of trailing frozen columns in the worksheet. Returns <code>0</code> if the worksheet does not have trailing frozen panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setFrozenLineColor(com.grapecity.documents.excel.Color)">
<h3>setFrozenLineColor</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFrozenLineColor</span><wbr><span class="parameters">(<a href="Color.html" title="class in com.grapecity.documents.excel">Color</a>&nbsp;value)</span></div>
<div class="block">Sets the color of the frozen line. <p>Use this method to set the color used to display the divider between frozen  and unfrozen panes. Pass  <code>null</code> to clear the frozen line color setting.</p>
<pre><code data-language="Java">
 worksheet.freezePanes(2, 1);
 worksheet.setFrozenLineColor(Color.GetRed());
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The color of the frozen line, or <code>null</code> to clear the frozen line color setting.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSplitRow()">
<h3>getSplitRow</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getSplitRow</span>()</div>
<div class="block">Gets the split row of the worksheet. <p>This method returns the row position specified by  <a href="#splitPanes(int,int)"><code>splitPanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have split panes.</p>
<pre><code data-language="Java">
 worksheet.splitPanes(2, 1);
 int splitRow = worksheet.getSplitRow();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The split row position in the worksheet. Returns <code>0</code> if the worksheet does not have split panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSplitColumn()">
<h3>getSplitColumn</h3>
<div class="member-signature"><span class="return-type">int</span>&nbsp;<span class="element-name">getSplitColumn</span>()</div>
<div class="block">Gets the split column of the worksheet. <p>This method returns the column position specified by  <a href="#splitPanes(int,int)"><code>splitPanes(int,int)</code></a>.  Returns  <code>0</code> if the worksheet does not have split panes.</p>
<pre><code data-language="Java">
 worksheet.splitPanes(2, 3);
 int splitColumn = worksheet.getSplitColumn();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The split column position in the worksheet. Returns <code>0</code> if the worksheet does not have split panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPageSetup()">
<h3>getPageSetup</h3>
<div class="member-signature"><span class="return-type"><a href="IPageSetup.html" title="interface in com.grapecity.documents.excel">IPageSetup</a></span>&nbsp;<span class="element-name">getPageSetup</span>()</div>
<div class="block">Gets the  <a href="IPageSetup.html" title="interface in com.grapecity.documents.excel"><code>IPageSetup</code></a> object for this worksheet.<p>The returned object provides access to page setup settings such as print area,  margins, orientation, scaling, and headers and footers.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 IPageSetup pageSetup = worksheet.getPageSetup();
 pageSetup.setPrintArea("A1:B3");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPageSetup.html" title="interface in com.grapecity.documents.excel"><code>IPageSetup</code></a> object that contains the page setup settings for this worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getHPageBreaks()">
<h3>getHPageBreaks</h3>
<div class="member-signature"><span class="return-type"><a href="IHPageBreaks.html" title="interface in com.grapecity.documents.excel">IHPageBreaks</a></span>&nbsp;<span class="element-name">getHPageBreaks</span>()</div>
<div class="block">Gets the collection of horizontal page breaks within the print area. <p>Use the returned  <a href="IHPageBreaks.html" title="interface in com.grapecity.documents.excel"><code>IHPageBreaks</code></a> collection to access existing horizontal page breaks or add new ones within the worksheet print area.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getHPageBreaks().add(worksheet.getRange("A10"));
 IHPageBreaks pageBreaks = worksheet.getHPageBreaks();
 IHPageBreak pageBreak = pageBreaks.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The collection of horizontal page breaks within the print area.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getVPageBreaks()">
<h3>getVPageBreaks</h3>
<div class="member-signature"><span class="return-type"><a href="IVPageBreaks.html" title="interface in com.grapecity.documents.excel">IVPageBreaks</a></span>&nbsp;<span class="element-name">getVPageBreaks</span>()</div>
<div class="block">Gets the collection of vertical page breaks within the print area. <p>Use the returned  <a href="IVPageBreaks.html" title="interface in com.grapecity.documents.excel"><code>IVPageBreaks</code></a> collection to add, access, and manage vertical page breaks on the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:F10").setValue("Data");
 IVPageBreaks pageBreaks = worksheet.getVPageBreaks();
 pageBreaks.add(worksheet.getRange("D1"));
 IVPageBreak pageBreak = pageBreaks.get(0);
 IRange location = pageBreak.getLocation();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The collection of vertical page breaks within the print area.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="select()">
<h3>select</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">select</span>()</div>
<div class="block">Selects this worksheet. <p>Use  <a href="#activate()"><code>activate()</code></a> to make this worksheet the active sheet.</p>
<pre><code data-language="Java">
 worksheet.setName("Data");
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 worksheet.select();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="select(boolean)">
<h3>select</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">select</span><wbr><span class="parameters">(boolean&nbsp;replace)</span></div>
<div class="block">Selects the worksheet. <p>If  <code>replace</code> is <code>true</code>, the current selection is replaced with this  worksheet. If  <code>replace</code> is <code>false</code>, this worksheet is added to the  current selection.</p>
<pre><code data-language="Java">
 workbook.getWorksheets().add();
 IWorksheet sheet2 = workbook.getWorksheets().get(1);
 worksheet.select(true);
 sheet2.select(false);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>replace</code> - <code>true</code> to replace the current selection with this worksheet; <code>false</code> to extend the current selection to include this worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="activate()">
<h3>activate</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">activate</span>()</div>
<div class="block">Makes this worksheet the active sheet. <p>This method is equivalent to clicking the worksheet tab in the workbook UI.</p>
<pre><code data-language="Java">
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 summarySheet.activate();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="delete()">
<h3>delete</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">delete</span>()</div>
<div class="block">Deletes this worksheet from its workbook. <p>If this worksheet is the active worksheet, another worksheet may become active after the deletion.</p>
<pre><code data-language="Java">
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 worksheet.delete();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="evaluate(java.lang.String)">
<h3>evaluate</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></span>&nbsp;<span class="element-name">evaluate</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula)</span></div>
<div class="block">Evaluates the specified Excel formula or named expression and returns the result. <p>The formula is evaluated by using non-dynamic array semantics.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue(100);
 worksheet.getRange("A2").setValue(200);
 Object result = worksheet.evaluate("=SUM(A1:A2)");
 Object nameResult = worksheet.evaluate("=ROW(A1)");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>formula</code> - A string containing an Excel formula, named range, or defined name to evaluate.</dd>
<dt>Returns:</dt>
<dd>The result of the evaluation. Returns an <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object when the formula result is a reference, such as <code>"=A1"</code>.</dd>
<dt>API Note:</dt>
<dd>Use <a href="#evaluate2(java.lang.String)"><code>evaluate2(String)</code></a> if the formula should be evaluated by using dynamic array semantics.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="evaluate2(java.lang.String)">
<h3>evaluate2</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></span>&nbsp;<span class="element-name">evaluate2</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula)</span></div>
<div class="block">Evaluates the specified Excel formula or named expression and returns the result. <p>The formula is evaluated by using dynamic array semantics.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue(1);
 worksheet.getRange("A2").setValue(2);
 worksheet.getRange("A3").setValue(2);
 Object result = worksheet.evaluate2("=UNIQUE(A1:A3)");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>formula</code> - A string containing an Excel formula, named range, or defined name to evaluate.</dd>
<dt>Returns:</dt>
<dd>The evaluation result. Returns a single value for a standard formula, an <code>Object[][]</code> for a dynamic array formula, or an <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object when the formula returns a reference such as <code>"=A1:A5"</code>.</dd>
<dt>API Note:</dt>
<dd>Use this method when the formula should be evaluated as a dynamic array formula.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="evaluate(java.lang.String,com.grapecity.documents.excel.IFormulaResolver)">
<h3>evaluate</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></span>&nbsp;<span class="element-name">evaluate</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;formula,
 <a href="IFormulaResolver.html" title="interface in com.grapecity.documents.excel">IFormulaResolver</a>&nbsp;resolver)</span></div>
<div class="block">Evaluates the specified Excel formula or named expression by using a custom formula resolver and returns the result. <p>Use the resolver to supply values for custom names referenced by the formula. The calculation behavior is consistent with Excel 2019 and earlier versions.</p>
<pre><code data-language="Java">
 class CustomFormulaResolver implements IFormulaResolver {
     public Object evaluate(String text) {
         return "TaxRate".equals(text) ? 0.08 : null;
     }

     public boolean isCustomName(String text) {
         return "TaxRate".equals(text);
     }
 }

 IFormulaResolver resolver = new CustomFormulaResolver();
 Object result = worksheet.evaluate("=100*TaxRate", resolver);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>formula</code> - A string containing an Excel formula, named range, or defined name to evaluate. A leading <code>=</code> is allowed. Must not be <code>null</code> or empty.</dd>
<dd><code>resolver</code> - The custom resolver used to resolve names referenced by the formula. If <code>null</code>, the formula is evaluated without a custom resolver.</dd>
<dt>Returns:</dt>
<dd>The result of the evaluation. Returns an <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object when the formula result is a reference, such as <code>"=A1"</code>.</dd>
<dt>Throws:</dt>
<dd><code><a href="InvalidFormulaException.html" title="class in com.grapecity.documents.excel">InvalidFormulaException</a></code> - if <code>formula</code> is <code>null</code>, empty, or not a valid formula expression.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="showAllData()">
<h3>showAllData</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">showAllData</span>()</div>
<div class="block">Makes all rows in the currently filtered range visible. <p>If  <a href="#getAutoFilter()"><code>getAutoFilter()</code></a> is in use on the worksheet, this method clears the applied filter criteria and changes the filter drop-down arrows to show All.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200},
     {"C", 120}
 });
 worksheet.getRange("A1:B4").autoFilter(1, "&lt;150");
 worksheet.showAllData();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="getUsedRange()">
<h3>getUsedRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getUsedRange</span>()</div>
<div class="block">Gets the used range, its behavior is equivalent to getUsedRange(EnumSet.of(UsedRangeType.Axis, UsedRangeType.Data, UsedRangeType.Comment, UsedRangeType.Style, UsedRangeType.Merge)).
 <pre><code data-language="Java">
 worksheet.getRange("B2").setValue("Used cell");
 IRange usedRange = worksheet.getUsedRange();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The used range, its behavior is equivalent to getUsedRange(EnumSet.of(UsedRangeType.Axis, UsedRangeType.Data, UsedRangeType.Comment, UsedRangeType.Style, UsedRangeType.Merge)).</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getUsedRange(java.util.EnumSet)">
<h3>getUsedRange</h3>
<div class="member-signature"><span class="return-type"><a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a></span>&nbsp;<span class="element-name">getUsedRange</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/EnumSet.html" title="class or interface in java.util">EnumSet</a>&lt;<a href="UsedRangeType.html" title="enum class in com.grapecity.documents.excel">UsedRangeType</a>&gt;&nbsp;type)</span></div>
<div class="block">Gets the used range for the specified feature types.
 <pre><code data-language="Java">
 worksheet.getRange("B2").setValue("Used cell");
 IRange usedRange = worksheet.getUsedRange(EnumSet.of(UsedRangeType.Data));
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - The feature type.</dd>
<dt>Returns:</dt>
<dd>the <a href="IRange.html" title="interface in com.grapecity.documents.excel"><code>IRange</code></a> object that represents the used range on the specified worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="freezePanes(int,int)">
<h3>freezePanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">freezePanes</span><wbr><span class="parameters">(int&nbsp;row,
 int&nbsp;column)</span></div>
<div class="block">Freezes panes at the specified row and column positions. <p>Use this method to keep the rows above the specified row position and the columns  to the left of the specified column position visible while scrolling the worksheet.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B4").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200},
     {"C", 300}
 });
 worksheet.freezePanes(1, 1);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - The frozen row position.</dd>
<dd><code>column</code> - The frozen column position.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unfreezePanes()">
<h3>unfreezePanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">unfreezePanes</span>()</div>
<div class="block">Unfreezes panes. <p>This method clears the pane freeze state that was applied by  <a href="#freezePanes(int,int)"><code>freezePanes(int,int)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.freezePanes(1, 1);
 worksheet.unfreezePanes();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="freezeTrailingPanes(int,int)">
<h3>freezeTrailingPanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">freezeTrailingPanes</span><wbr><span class="parameters">(int&nbsp;row,
 int&nbsp;column)</span></div>
<div class="block">Sets trailing frozen panes at the specified row and column positions. <p>This method sets the number of trailing rows and trailing columns that remain  visible when the worksheet is scrolled.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.freezeTrailingPanes(1, 1);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - The trailing frozen row position.</dd>
<dd><code>column</code> - The trailing frozen column position.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unfreezeTrailingPanes()">
<h3>unfreezeTrailingPanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">unfreezeTrailingPanes</span>()</div>
<div class="block">Removes trailing frozen panes. <p>This method clears the trailing frozen pane state that was applied by  <a href="#freezeTrailingPanes(int,int)"><code>freezeTrailingPanes(int,int)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B3").setValue(new Object[][] {
     {"Name", "Value"},
     {"A", 100},
     {"B", 200}
 });
 worksheet.freezeTrailingPanes(1, 1);
 worksheet.unfreezeTrailingPanes();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="splitPanes(int,int)">
<h3>splitPanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">splitPanes</span><wbr><span class="parameters">(int&nbsp;row,
 int&nbsp;column)</span></div>
<div class="block">Splits the worksheet into panes at the specified row and column positions. <p>Use this method to divide the worksheet view into multiple panes so that different  areas of the worksheet can be viewed independently.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.getRange("B1").setValue("Value");
 worksheet.splitPanes(2, 2);
 IPanes panes = worksheet.getPanes();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>row</code> - The row position where the worksheet is split.</dd>
<dd><code>column</code> - The column position where the worksheet is split.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unsplitPanes()">
<h3>unsplitPanes</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">unsplitPanes</span>()</div>
<div class="block">Removes pane splits from the worksheet. <p>This method clears the current split pane layout and restores the worksheet  to a single-pane view. The implementation forwards to  <a href="#splitPanes(int,int)"><code>splitPanes(int,int)</code></a> with both arguments set to <code>0</code>.</p>
<pre><code data-language="Java">
 worksheet.splitPanes(2, 2);
 worksheet.unsplitPanes();
 IPanes panes = worksheet.getPanes();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="getPanes()">
<h3>getPanes</h3>
<div class="member-signature"><span class="return-type"><a href="IPanes.html" title="interface in com.grapecity.documents.excel">IPanes</a></span>&nbsp;<span class="element-name">getPanes</span>()</div>
<div class="block">Gets the panes in the worksheet. <p>Returns the  <a href="IPanes.html" title="interface in com.grapecity.documents.excel"><code>IPanes</code></a> collection for the current worksheet view. Use this method to access the  <a href="IPane.html" title="interface in com.grapecity.documents.excel"><code>IPane</code></a> objects in the worksheet, such as after calling  <a href="#splitPanes(int,int)"><code>splitPanes(int,int)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.splitPanes(2, 2);
 IPanes panes = worksheet.getPanes();
 IPane pane = panes.get(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPanes.html" title="interface in com.grapecity.documents.excel"><code>IPanes</code></a> collection that contains the worksheet panes.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getActivePane()">
<h3>getActivePane</h3>
<div class="member-signature"><span class="return-type"><a href="IPane.html" title="interface in com.grapecity.documents.excel">IPane</a></span>&nbsp;<span class="element-name">getActivePane</span>()</div>
<div class="block">Gets the active pane of the worksheet. <p>Returns the  <a href="IPane.html" title="interface in com.grapecity.documents.excel"><code>IPane</code></a> object that represents the pane currently active in the worksheet view. Use this method to access or modify the scroll position  of the active pane after the worksheet has been split into multiple panes.</p>
<pre><code data-language="Java">
 worksheet.splitPanes(2, 2);
 IPane pane = worksheet.getActivePane();
 pane.setScrollRow(3);
 pane.setScrollColumn(2);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IPane.html" title="interface in com.grapecity.documents.excel"><code>IPane</code></a> object that represents the active pane of the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="save(java.lang.String)">
<h3>save</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">save</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName)</span></div>
<div class="block">Saves the current worksheet to the specified file. <p>The file format is determined from the extension in  <code>fileName</code> and the call is forwarded to  <a href="#save(java.lang.String,com.grapecity.documents.excel.SaveFileFormat)"><code>save(String,SaveFileFormat)</code></a> with the resolved format.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 worksheet.save("InvoiceSheet.xlsx");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>fileName</code> - The file name to save to. Must be a valid file path and include the target file name; <code>null</code> is not supported.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>fileName</code> is not a valid file path.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="save(java.lang.String,com.grapecity.documents.excel.SaveFileFormat)">
<h3>save</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">save</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName,
 <a href="SaveFileFormat.html" title="enum class in com.grapecity.documents.excel">SaveFileFormat</a>&nbsp;fileFormat)</span></div>
<div class="block">Saves the current worksheet to the specified file in the specified format. <p>Use this method to export a single worksheet when the target file path and file format are known explicitly.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 worksheet.save("InvoiceSheet.pdf", SaveFileFormat.Pdf);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>fileName</code> - The path and name of the file to create. Must be a valid file path; <code>null</code> is not supported.</dd>
<dd><code>fileFormat</code> - The file format to use when saving the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="save(java.io.OutputStream,com.grapecity.documents.excel.SaveFileFormat)">
<h3>save</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">save</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;fileStream,
 <a href="SaveFileFormat.html" title="enum class in com.grapecity.documents.excel">SaveFileFormat</a>&nbsp;fileFormat)</span></div>
<div class="block">Saves the current worksheet to the specified stream in the specified format. <p>Use this method to export a single worksheet to a stream when the output format  is known explicitly.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 java.io.ByteArrayOutputStream stream = new java.io.ByteArrayOutputStream();
 worksheet.save(stream, SaveFileFormat.Pdf);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>fileStream</code> - The output stream to receive the saved worksheet. Must not be <code>null</code>.</dd>
<dd><code>fileFormat</code> - The format used to save the worksheet to the stream.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="save(java.lang.String,com.grapecity.documents.excel.SaveOptionsBase)">
<h3>save</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">save</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;fileName,
 <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel">SaveOptionsBase</a>&nbsp;options)</span></div>
<div class="block">Saves the current worksheet to the specified file by using the specified save options. <p>The save behavior depends on the concrete  <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel"><code>SaveOptionsBase</code></a> instance that is provided. This overload writes the worksheet to the file path specified by  <code>fileName</code>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Score"},
     {"Alice", 100}
 });
 SaveOptionsBase options = new PdfSaveOptions();
 worksheet.save("report.pdf", options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>fileName</code> - The path and name of the file to create. Must be a valid file path and must not be <code>null</code>.</dd>
<dd><code>options</code> - The save options that control how the worksheet is written. This value must not be <code>null</code>.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>fileName</code> is invalid, or if saving the worksheet fails.</dd>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the specified save options use an unsupported file format.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="save(java.io.OutputStream,com.grapecity.documents.excel.SaveOptionsBase)">
<h3>save</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">save</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;fileStream,
 <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel">SaveOptionsBase</a>&nbsp;options)</span></div>
<div class="block">Saves the current worksheet to the specified stream by using the specified save options. <p>The output format and save behavior are determined by the concrete  <a href="SaveOptionsBase.html" title="class in com.grapecity.documents.excel"><code>SaveOptionsBase</code></a> instance that is provided.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Score"},
     {"Alice", 100}
 });
 SaveOptionsBase options = new PdfSaveOptions();
 java.io.ByteArrayOutputStream stream = new java.io.ByteArrayOutputStream();
 worksheet.save(stream, options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>fileStream</code> - The output stream that receives the saved worksheet. This value must not be <code>null</code>.</dd>
<dd><code>options</code> - The save options that control how the worksheet is written to the stream. This value must not be <code>null</code>.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the specified save options use a file format that is not supported by worksheet stream saving.</dd>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the specified save options use an invalid or unsupported file format.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getFixedPageBreaks()">
<h3>getFixedPageBreaks</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getFixedPageBreaks</span>()</div>
<div class="block">Gets whether the horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted. <p>When this property is  <code>true</code>, existing page break positions remain fixed during row or column insertion and deletion operations.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:T32").setValue(1);
 IHPageBreak pageBreak = worksheet.getHPageBreaks().add(worksheet.getRows().get(7));
 worksheet.setFixedPageBreaks(true);
 boolean fixedPageBreaks = worksheet.getFixedPageBreaks();
 worksheet.getRows().get(6).insert();
 IRange location = pageBreak.getLocation();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if the horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setFixedPageBreaks(boolean)">
<h3>setFixedPageBreaks</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setFixedPageBreaks</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether the horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted. <p>When this property is  <code>true</code>, existing page break positions remain fixed during row or column insertion and deletion operations.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:T32").setValue(1);
 IHPageBreak pageBreak = worksheet.getHPageBreaks().add(worksheet.getRows().get(7));
 worksheet.setFixedPageBreaks(true);
 worksheet.getRows().get(6).insert();
 IRange location = pageBreak.getLocation();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if the horizontal and vertical page breaks are fixed when rows or columns are inserted or deleted; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getType()">
<h3>getType</h3>
<div class="member-signature"><span class="return-type"><a href="SheetType.html" title="enum class in com.grapecity.documents.excel">SheetType</a></span>&nbsp;<span class="element-name">getType</span>()</div>
<div class="block">Gets the sheet type. <p>Use this method to determine whether the current sheet is a regular worksheet  or another supported sheet type, such as a chart sheet.</p>
<pre><code data-language="Java">
 IWorksheet chartSheet = workbook.getWorksheets().add(SheetType.Chart);
 SheetType type = chartSheet.getType();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The sheet type.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getTag()">
<h3>getTag</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></span>&nbsp;<span class="element-name">getTag</span>()</div>
<div class="block">Gets the custom tag associated with the worksheet. <p>Use this method to retrieve application-defined metadata stored with the worksheet.  To assign a tag, use  <a href="#setTag(java.lang.Object)"><code>setTag(Object)</code></a>.</p>
<pre><code data-language="Java">
 worksheet.setTag("Quarterly summary");
 Object tag = worksheet.getTag();
 String text = (String) tag;
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The custom tag stored on the worksheet. Returns <code>null</code> if no tag has been assigned.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setTag(java.lang.Object)">
<h3>setTag</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setTag</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a>&nbsp;tag)</span></div>
<div class="block">Sets the custom tag associated with the worksheet.
 <pre><code data-language="Java">
 worksheet.setTag("Quarterly summary");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>tag</code> - The custom tag stored on the worksheet. Sets <code>null</code> if no tag has been assigned.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCellType()">
<h3>getCellType</h3>
<div class="member-signature"><span class="return-type"><a href="BaseCellType.html" title="class in com.grapecity.documents.excel">BaseCellType</a></span>&nbsp;<span class="element-name">getCellType</span>()</div>
<div class="block">Gets the cell type for the worksheet. <p>Use this method to retrieve the  <a href="BaseCellType.html" title="class in com.grapecity.documents.excel"><code>BaseCellType</code></a> applied at the worksheet level. The returned cell type affects cells that inherit the worksheet's default cell type setting.</p>
<pre><code data-language="Java">
 worksheet.setCellType(new ButtonCellType());
 BaseCellType cellType = worksheet.getCellType();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The worksheet-level cell type, or <code>null</code> if no cell type is set for the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCellType(com.grapecity.documents.excel.BaseCellType)">
<h3>setCellType</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setCellType</span><wbr><span class="parameters">(<a href="BaseCellType.html" title="class in com.grapecity.documents.excel">BaseCellType</a>&nbsp;cellType)</span></div>
<div class="block">Sets the worksheet-level cell type. <p>The specified  <a href="BaseCellType.html" title="class in com.grapecity.documents.excel"><code>BaseCellType</code></a> is used as the default cell type for cells that inherit the worksheet's cell type setting. Use  <code>null</code> to clear the worksheet-level cell type.</p>
<pre><code data-language="Java">
 ButtonCellType cellType = new ButtonCellType();
 cellType.setText("Details");
 worksheet.getRange("A1").setValue("Details");
 worksheet.setCellType(cellType);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>cellType</code> - The cell type to apply to the worksheet. Use <code>null</code> to remove the worksheet-level cell type.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getDataSource()">
<h3>getDataSource</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a></span>&nbsp;<span class="element-name">getDataSource</span>()</div>
<div class="block">Gets the data source used for data binding in the current worksheet. <p>This method returns the object previously assigned through  <a href="#setDataSource(java.lang.Object)"><code>setDataSource(Object)</code></a>.</p>
<pre><code data-language="Java">
 JsonDataSource dataSource = new JsonDataSource("[{\"name\":\"Jack\",\"age\":12},{\"name\":\"Alice\",\"age\":25}]");
 worksheet.setAutoGenerateColumns(true);
 worksheet.setDataSource(dataSource);
 Object source = worksheet.getDataSource();
 Object firstName = worksheet.getRange("A1").getValue();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The data source object for the current worksheet, or <code>null</code> if no data source has been set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setDataSource(java.lang.Object)">
<h3>setDataSource</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setDataSource</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang">Object</a>&nbsp;value)</span></div>
<div class="block">Sets the data source used for data binding in the current worksheet.
 <pre><code data-language="Java">
 JsonDataSource dataSource = new JsonDataSource("[{\"name\":\"Jack\",\"age\":12},{\"name\":\"Alice\",\"age\":25}]");
 worksheet.setAutoGenerateColumns(true);
 worksheet.setDataSource(dataSource);
 Object firstName = worksheet.getRange("A1").getValue();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - The data source object for the current worksheet, or <code>null</code> if no data source has been set.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoGenerateColumns()">
<h3>getAutoGenerateColumns</h3>
<div class="member-signature"><span class="return-type">boolean</span>&nbsp;<span class="element-name">getAutoGenerateColumns</span>()</div>
<div class="block">Gets whether columns are generated automatically when data is bound to the worksheet. <p>When this property is  <code>true</code>, columns can be created automatically during data binding.  Use  <a href="#setAutoGenerateColumns(boolean)"><code>setAutoGenerateColumns(boolean)</code></a> to change this setting before assigning or refreshing bound data.</p>
<pre><code data-language="Java">
 JsonDataSource dataSource = new JsonDataSource("[{\"name\":\"Jack\",\"age\":12},{\"name\":\"Alice\",\"age\":25}]");
 worksheet.setAutoGenerateColumns(true);
 worksheet.setDataSource(dataSource);
 boolean autoGenerateColumns = worksheet.getAutoGenerateColumns();
 int columnCount = worksheet.getColumnCount();
 Object firstName = worksheet.getRange("A1").getValue();
 Object secondAge = worksheet.getRange("B2").getValue();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd><code>true</code> if columns are generated automatically during data binding; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setAutoGenerateColumns(boolean)">
<h3>setAutoGenerateColumns</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">setAutoGenerateColumns</span><wbr><span class="parameters">(boolean&nbsp;value)</span></div>
<div class="block">Sets whether columns are generated automatically when data is bound to the worksheet.
 <pre><code data-language="Java">
 JsonDataSource dataSource = new JsonDataSource("[{\"name\":\"Jack\",\"age\":12},{\"name\":\"Alice\",\"age\":25}]");
 worksheet.setAutoGenerateColumns(true);
 worksheet.setDataSource(dataSource);
 int columnCount = worksheet.getColumnCount();
 Object firstName = worksheet.getRange("A1").getValue();
 Object secondAge = worksheet.getRange("B2").getValue();
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - <code>true</code> if columns are generated automatically during data binding; otherwise, <code>false</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getOutlineColumn()">
<h3>getOutlineColumn</h3>
<div class="member-signature"><span class="return-type"><a href="IOutlineColumn.html" title="interface in com.grapecity.documents.excel">IOutlineColumn</a></span>&nbsp;<span class="element-name">getOutlineColumn</span>()</div>
<div class="block">Gets the outline column for the worksheet. <p>The outline column displays hierarchical row data in a tree view. Use the  returned  <a href="IOutlineColumn.html" title="interface in com.grapecity.documents.excel"><code>IOutlineColumn</code></a> object to configure the column index and display options for the row hierarchy.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:A3").setValue(new Object[][] {{"Name"}, {"Node 1"}, {"Node 1.1"}});
 worksheet.getRange("A2").setIndentLevel(1);
 IOutlineColumn outlineColumn = worksheet.getOutlineColumn();
 outlineColumn.setColumnIndex(0);
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IOutlineColumn.html" title="interface in com.grapecity.documents.excel"><code>IOutlineColumn</code></a> object for the current worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getScenarios()">
<h3>getScenarios</h3>
<div class="member-signature"><span class="return-type"><a href="IScenarios.html" title="interface in com.grapecity.documents.excel">IScenarios</a></span>&nbsp;<span class="element-name">getScenarios</span>()</div>
<div class="block">Gets the  <a href="IScenarios.html" title="interface in com.grapecity.documents.excel"><code>IScenarios</code></a> object that represents the collection of What-If analysis scenarios in the worksheet.<p>Use the returned collection to add, retrieve, and iterate worksheet scenarios.</p>
<pre><code data-language="Java">
 worksheet.getRange("C4").setValue(0.8);
 IScenarios scenarios = worksheet.getScenarios();
 scenarios.add("80% highest", worksheet.getRange("C4"));
 IScenario scenario = scenarios.get("80% highest");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The <a href="IScenarios.html" title="interface in com.grapecity.documents.excel"><code>IScenarios</code></a> object for the worksheet's scenarios.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAutoMergeRangesInfo()">
<h3>getAutoMergeRangesInfo</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util">List</a>&lt;<a href="IAutoMergeRangeInfo.html" title="interface in com.grapecity.documents.excel">IAutoMergeRangeInfo</a>&gt;</span>&nbsp;<span class="element-name">getAutoMergeRangesInfo</span>()</div>
<div class="block">Gets a list of  <a href="IAutoMergeRangeInfo.html" title="interface in com.grapecity.documents.excel"><code>IAutoMergeRangeInfo</code></a> objects that represent all auto merge range information in the current worksheet.<p>Each item describes an auto-merge range that was added by  <a href="#autoMerge(com.grapecity.documents.excel.IRange)"><code>autoMerge(IRange)</code></a>,  <a href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection)"><code>autoMerge(IRange,AutoMergeDirection)</code></a>,  <a href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode)"><code>autoMerge(IRange,AutoMergeDirection,AutoMergeMode)</code></a>, or  <a href="#autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode,com.grapecity.documents.excel.AutoMergeSelectionMode)"><code>autoMerge(IRange,AutoMergeDirection,AutoMergeMode,AutoMergeSelectionMode)</code></a>.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:A4");
 range.setValue(new Object[][] {
     {"North"},
     {"North"},
     {"South"},
     {"South"}
 });
 worksheet.autoMerge(range, AutoMergeDirection.Column, AutoMergeMode.Free);
 List&lt;IAutoMergeRangeInfo&gt; autoMergeInfos = worksheet.getAutoMergeRangesInfo();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>A list of <a href="IAutoMergeRangeInfo.html" title="interface in com.grapecity.documents.excel"><code>IAutoMergeRangeInfo</code></a> objects for the current worksheet. Returns an empty list if no auto merge range information exists.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="copy()">
<h3>copy</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">copy</span>()</div>
<div class="block">Copies the sheet to the end of the current workbook. <p>The returned worksheet represents the newly created copy.</p>
<pre><code data-language="Java">
 worksheet.setName("Template");
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 IWorksheet copiedSheet = worksheet.copy();
 copiedSheet.setName("Template Copy");
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The newly copied worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="copy(com.grapecity.documents.excel.IWorkbook)">
<h3>copy</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">copy</span><wbr><span class="parameters">(<a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a>&nbsp;workbook)</span></div>
<div class="block">Copies the sheet to the end of the specified workbook. <p>The copied sheet is appended to the destination workbook and returned as a new worksheet instance.  If  <code>workbook</code> is <code>null</code>, the sheet is copied to the end of the current workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Report");
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 IWorkbook targetWorkbook = new Workbook();
 IWorksheet copiedSheet = worksheet.copy(targetWorkbook);
 copiedSheet.setName("Report Copy");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>workbook</code> - The workbook to which the sheet will be copied, or <code>null</code> to copy the sheet to the end of the current workbook.</dd>
<dt>Returns:</dt>
<dd>The new copied sheet in the destination workbook.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="copyBefore(com.grapecity.documents.excel.IWorksheet)">
<h3>copyBefore</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">copyBefore</span><wbr><span class="parameters">(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</span></div>
<div class="block">Copies the sheet to the location before the specified sheet. <p>The copied sheet is inserted immediately before  <code>targetSheet</code>. The target sheet can belong to the current workbook or another workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Data");
 worksheet.getRange("A1").setValue("Name");
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 IWorksheet copiedSheet = worksheet.copyBefore(summarySheet);
 copiedSheet.setName("Data Copy");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>targetSheet</code> - The sheet before which the copied sheet will be placed. It can be a sheet in the same workbook or another workbook.</dd>
<dt>Returns:</dt>
<dd>The new copied sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="copyAfter(com.grapecity.documents.excel.IWorksheet)">
<h3>copyAfter</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">copyAfter</span><wbr><span class="parameters">(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</span></div>
<div class="block">Copies the sheet to the location after the specified sheet. <p>The copied sheet is inserted immediately after  <code>targetSheet</code>. The target sheet can belong to the current workbook or another workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Data");
 worksheet.getRange("A1").setValue("Name");
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 IWorksheet copiedSheet = worksheet.copyAfter(summarySheet);
 copiedSheet.setName("Data Copy");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>targetSheet</code> - The sheet after which the copied sheet will be placed. It can be a sheet in the same workbook or another workbook.</dd>
<dt>Returns:</dt>
<dd>The new copied sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="move()">
<h3>move</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">move</span>()</div>
<div class="block">Moves the worksheet to the end of the current workbook.
 <pre><code data-language="Java">
 worksheet.setName("Summary");
 workbook.getWorksheets().add().setName("Details");
 IWorksheet movedSheet = worksheet.move();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The moved worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="move(com.grapecity.documents.excel.IWorkbook)">
<h3>move</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">move</span><wbr><span class="parameters">(<a href="IWorkbook.html" title="interface in com.grapecity.documents.excel">IWorkbook</a>&nbsp;workbook)</span></div>
<div class="block">Moves the sheet to the end of the specified workbook. <p>If  <code>workbook</code> is <code>null</code> or is the current workbook, the sheet is moved to the end of the current workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Summary");
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 workbook.getWorksheets().add().setName("Overview");
 IWorkbook targetWorkbook = new Workbook();
 IWorksheet movedSheet = worksheet.move(targetWorkbook);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>workbook</code> - The workbook to which the sheet will be moved, or <code>null</code> to move the sheet to the end of the current workbook.</dd>
<dt>Returns:</dt>
<dd>The moved sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="moveBefore(com.grapecity.documents.excel.IWorksheet)">
<h3>moveBefore</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">moveBefore</span><wbr><span class="parameters">(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</span></div>
<div class="block">Moves the sheet to the location before the specified sheet. <p>The target sheet can belong to the same workbook or a different workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Data");
 IWorksheet summarySheet = workbook.getWorksheets().add();
 summarySheet.setName("Summary");
 IWorksheet movedSheet = summarySheet.moveBefore(worksheet);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>targetSheet</code> - The sheet before which the moved sheet will be placed. It can be the sheet of the same or another workbook.</dd>
<dt>Returns:</dt>
<dd>The moved sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="moveAfter(com.grapecity.documents.excel.IWorksheet)">
<h3>moveAfter</h3>
<div class="member-signature"><span class="return-type"><a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a></span>&nbsp;<span class="element-name">moveAfter</span><wbr><span class="parameters">(<a href="IWorksheet.html" title="interface in com.grapecity.documents.excel">IWorksheet</a>&nbsp;targetSheet)</span></div>
<div class="block">Moves the sheet to the location after the specified sheet. <p>The target sheet can belong to the same workbook or another workbook.</p>
<pre><code data-language="Java">
 worksheet.setName("Summary");
 IWorksheet detailsSheet = workbook.getWorksheets().add();
 detailsSheet.setName("Details");
 IWorksheet movedSheet = worksheet.moveAfter(detailsSheet);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>targetSheet</code> - The sheet after which the moved sheet will be placed. It can be the sheet of the same or another workbook.</dd>
<dt>Returns:</dt>
<dd>The moved sheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson()">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">toJson</span>()</div>
<div class="block">Generates a JSON string from the worksheet. <p>The generated JSON represents the current worksheet content and can be used with  <a href="#fromJson(java.lang.String)"><code>fromJson(String)</code></a> to load worksheet data.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 String json = worksheet.toJson();
 </code></pre></div>
<dl class="notes">
<dt>Returns:</dt>
<dd>The JSON string that represents the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson(com.grapecity.documents.excel.SerializationOptions)">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type"><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a></span>&nbsp;<span class="element-name">toJson</span><wbr><span class="parameters">(<a href="SerializationOptions.html" title="class in com.grapecity.documents.excel">SerializationOptions</a>&nbsp;serializationOptions)</span></div>
<div class="block">Generates a JSON string from the worksheet. <p>Serializes the current worksheet to JSON and applies the specified  <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel"><code>SerializationOptions</code></a> during serialization. If <code>serializationOptions</code> is <code>null</code>, the worksheet is serialized  with internally created default options.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 SerializationOptions options = new SerializationOptions();
 options.setIgnoreStyle(true);
 String json = worksheet.toJson(options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>serializationOptions</code> - The <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel"><code>SerializationOptions</code></a> object to apply during serialization; may be <code>null</code>.</dd>
<dt>Returns:</dt>
<dd>The JSON string that represents the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson(java.io.OutputStream)">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toJson</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream)</span></div>
<div class="block">Generates a JSON stream from the worksheet. <p>Writes the worksheet content to the specified output stream in JSON format.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 ByteArrayOutputStream stream = new ByteArrayOutputStream();
 worksheet.toJson(stream);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The output stream that receives the worksheet JSON content. Must not be <code>null</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toJson(java.io.OutputStream,com.grapecity.documents.excel.SerializationOptions)">
<h3>toJson</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toJson</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel">SerializationOptions</a>&nbsp;serializationOptions)</span></div>
<div class="block">Generates a JSON stream from the worksheet. <p>Writes the worksheet content as JSON to the specified output stream and applies  the specified  <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel"><code>SerializationOptions</code></a> during serialization.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 SerializationOptions options = new SerializationOptions();
 ByteArrayOutputStream stream = new ByteArrayOutputStream();
 worksheet.toJson(stream, options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The output stream that receives the generated JSON content.</dd>
<dd><code>serializationOptions</code> - The <a href="SerializationOptions.html" title="class in com.grapecity.documents.excel"><code>SerializationOptions</code></a> object to apply during serialization.</dd>
</dl>
</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 class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;json)</span></div>
<div class="block">Generates a worksheet from the specified JSON string. <p>Use this method to load worksheet content from JSON data.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 String json = worksheet.toJson();
 worksheet.fromJson(json);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>json</code> - The input JSON string that represents the worksheet.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="fromJson(java.lang.String,com.grapecity.documents.excel.DeserializationOptions)">
<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 class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;json,
 <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel">DeserializationOptions</a>&nbsp;deserializationOptions)</span></div>
<div class="block">Generates a worksheet from the specified JSON string using the provided deserialization options. <p>Use  <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel"><code>DeserializationOptions</code></a> to control how the JSON data is loaded, such as whether formulas or styles are ignored and whether recalculation is prevented after loading.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Sample");
 String json = worksheet.toJson();
 DeserializationOptions options = new DeserializationOptions();
 worksheet.fromJson(json, options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>json</code> - The input JSON string that describes the worksheet content.</dd>
<dd><code>deserializationOptions</code> - The <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel"><code>DeserializationOptions</code></a> object that controls how the JSON is loaded.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="fromJson(java.io.InputStream)">
<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 class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream)</span></div>
<div class="block">Generates a worksheet from the specified JSON stream.
 <pre><code data-language="Java">
 try (InputStream stream = new FileInputStream("workbook.json")) {
     worksheet.fromJson(stream);
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The input JSON stream that describes the worksheet content.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="fromJson(java.io.InputStream,com.grapecity.documents.excel.DeserializationOptions)">
<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 class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/InputStream.html" title="class or interface in java.io">InputStream</a>&nbsp;stream,
 <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel">DeserializationOptions</a>&nbsp;deserializationOptions)</span></div>
<div class="block">Generates a worksheet from the specified JSON stream using the provided deserialization options.
 <pre><code data-language="Java">
 DeserializationOptions options = new DeserializationOptions();
 options.setIgnoreStyle(true);
 try (InputStream stream = new FileInputStream("workbook.json")) {
     worksheet.fromJson(stream, options);
 }
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The input JSON stream that describes the worksheet content.</dd>
<dd><code>deserializationOptions</code> - The <a href="DeserializationOptions.html" title="class in com.grapecity.documents.excel"><code>DeserializationOptions</code></a> object that controls how the JSON is loaded.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="autoMerge(com.grapecity.documents.excel.IRange)">
<h3>autoMerge</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">autoMerge</span><wbr><span class="parameters">(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range)</span></div>
<div class="block">Applies auto merge to the specified range by using the default direction, mode, and selection mode.
 <pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:A4");
 range.setValue(new Object[][] {
     {"North"},
     {"North"},
     {"South"},
     {"South"}
 });
 worksheet.autoMerge(range);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>range</code> - The range to apply auto merge to. <code>null</code> is not supported.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection)">
<h3>autoMerge</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">autoMerge</span><wbr><span class="parameters">(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction)</span></div>
<div class="block">Applies auto merge for a range. The auto merge mode is  <a href="AutoMergeMode.html#Free"><code>AutoMergeMode.Free</code></a>. The auto merge selection mode is  <a href="AutoMergeSelectionMode.html#Source"><code>AutoMergeSelectionMode.Source</code></a>. <p>This method adds auto-merge information to the specified range so that adjacent cells with the same value can be merged automatically. If  <code>direction</code> is <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a>, the existing auto merge for the range is canceled.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:A4");
 range.setValue(new Object[][] {
     {"Fruit"}, {"Fruit"}, {"Vegetable"}, {"Vegetable"}
 });
 worksheet.autoMerge(range, AutoMergeDirection.Column);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>range</code> - The range to which auto-merge information is applied.</dd>
<dd><code>direction</code> - The direction used to evaluate and apply auto merge. Use <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a> to cancel auto merge for the range.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode)">
<h3>autoMerge</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">autoMerge</span><wbr><span class="parameters">(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction,
 <a href="AutoMergeMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeMode</a>&nbsp;mode)</span></div>
<div class="block">Applies auto merge for a range. The auto merge selection mode is  <a href="AutoMergeSelectionMode.html#Source"><code>AutoMergeSelectionMode.Source</code></a>. <p>This method adds auto-merge information to the specified range so that neighboring  cells with the same value can be merged automatically. The auto-merge operation takes  effect when the worksheet is exported with auto-merged cells included. If  <code>direction</code> is <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a>, the auto merge for the range is canceled.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:B4");
 range.setValue(new Object[][] {
     {"Fruit", "Fruit"},
     {"Apple", "Apple"},
     {"Pear", "Pear"},
     {"Pear", "Pear"}
 });
 worksheet.autoMerge(range, AutoMergeDirection.Column, AutoMergeMode.Restricted);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>range</code> - The range to which auto-merge information is applied.</dd>
<dd><code>direction</code> - The auto merge direction. Use <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a> to cancel auto merge for the range.</dd>
<dd><code>mode</code> - The auto merge mode that determines how neighboring cells with identical values are merged.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="autoMerge(com.grapecity.documents.excel.IRange,com.grapecity.documents.excel.AutoMergeDirection,com.grapecity.documents.excel.AutoMergeMode,com.grapecity.documents.excel.AutoMergeSelectionMode)">
<h3>autoMerge</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">autoMerge</span><wbr><span class="parameters">(<a href="IRange.html" title="interface in com.grapecity.documents.excel">IRange</a>&nbsp;range,
 <a href="AutoMergeDirection.html" title="enum class in com.grapecity.documents.excel">AutoMergeDirection</a>&nbsp;direction,
 <a href="AutoMergeMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeMode</a>&nbsp;mode,
 <a href="AutoMergeSelectionMode.html" title="enum class in com.grapecity.documents.excel">AutoMergeSelectionMode</a>&nbsp;selectionMode)</span></div>
<div class="block">Applies auto merge to the specified range using the given direction, mode, and selection mode. <p>Auto merge combines neighboring cells that have the same value within the specified range.  If  <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a> is specified, the existing auto merge setting for the range is canceled.</p>
<pre><code data-language="Java">
 IRange range = worksheet.getRange("A1:B4");
 range.setValue(new Object[][] {
     {"Name", "Type"},
     {"Apple", "Fruit"},
     {"Apple", "Fruit"},
     {"Pear", "Fruit"}
 });
 worksheet.autoMerge(range, AutoMergeDirection.Column, AutoMergeMode.Restricted, AutoMergeSelectionMode.Merged);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>range</code> - The range to which auto merge is applied.</dd>
<dd><code>direction</code> - The direction used to evaluate and apply auto merge. Specify <a href="AutoMergeDirection.html#None"><code>AutoMergeDirection.None</code></a> to cancel auto merge for the range.</dd>
<dd><code>mode</code> - The mode that determines how neighboring cells with the same value are merged.</dd>
<dd><code>selectionMode</code> - The selection mode to use for cells in the auto-merged range.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toImage(java.lang.String)">
<h3>toImage</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toImage</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;imageFile)</span></div>
<div class="block">Saves the worksheet to the specified image file. <p>Use this method to export the current worksheet as an image.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 worksheet.toImage("worksheet.png");
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>imageFile</code> - The path and file name of the output image file.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toImage(java.lang.String,com.grapecity.documents.excel.ImageSaveOptions)">
<h3>toImage</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toImage</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;imageFile,
 <a href="ImageSaveOptions.html" title="class in com.grapecity.documents.excel">ImageSaveOptions</a>&nbsp;options)</span></div>
<div class="block">Saves the worksheet to the specified image file using the provided save options. <p>Use this method to render the current worksheet as an image and write the generated  image data to  <code>imageFile</code>. The output image format is determined by the file  extension in  <code>imageFile</code>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 ImageSaveOptions options = new ImageSaveOptions();
 options.setShowGridlines(true);
 worksheet.toImage("worksheet.png", options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>imageFile</code> - The path and file name of the output image file.</dd>
<dd><code>options</code> - The options that control how the worksheet is exported to the image; may be <code>null</code>.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an error occurs while writing the image file.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toImage(java.io.OutputStream,com.grapecity.documents.excel.drawing.ImageType)">
<h3>toImage</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toImage</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="drawing/ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;imageType)</span></div>
<div class="block">Saves the worksheet to the specified image stream. <p>Use this method to render the current worksheet as an image in the format  specified by  <code>imageType</code> and write the generated image data to <code>stream</code>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 java.io.ByteArrayOutputStream stream = new java.io.ByteArrayOutputStream();
 worksheet.toImage(stream, ImageType.PNG);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The output stream that receives the generated image data.</dd>
<dd><code>imageType</code> - The type of image to create.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="toImage(java.io.OutputStream,com.grapecity.documents.excel.drawing.ImageType,com.grapecity.documents.excel.ImageSaveOptions)">
<h3>toImage</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">toImage</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io">OutputStream</a>&nbsp;stream,
 <a href="drawing/ImageType.html" title="enum class in com.grapecity.documents.excel.drawing">ImageType</a>&nbsp;imageType,
 <a href="ImageSaveOptions.html" title="class in com.grapecity.documents.excel">ImageSaveOptions</a>&nbsp;options)</span></div>
<div class="block">Saves the worksheet to the specified image stream using the provided image type and save options. <p>Use this method to export the current worksheet as an image and write the generated data to an  <a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/OutputStream.html" title="class or interface in java.io"><code>OutputStream</code></a>.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1:B2").setValue(new Object[][] {
     {"Name", "Value"},
     {"Test", 100}
 });
 java.io.ByteArrayOutputStream stream = new java.io.ByteArrayOutputStream();
 ImageSaveOptions options = new ImageSaveOptions();
 worksheet.toImage(stream, ImageType.PNG, options);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>stream</code> - The output stream that receives the generated image data.</dd>
<dd><code>imageType</code> - The type of image to create.</dd>
<dd><code>options</code> - The options that control image output; can be <code>null</code>.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>imageType</code> is unsupported.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="protect()">
<h3>protect</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">protect</span>()</div>
<div class="block">Protects the worksheet so that it cannot be modified. <p>The worksheet is protected without a password.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.protect();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="protect(java.lang.String)">
<h3>protect</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">protect</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;password)</span></div>
<div class="block">Protects the worksheet so that it cannot be modified. <p>If  <code>password</code> is not <code>null</code> or empty, the worksheet is protected with that password. Otherwise, the worksheet is protected without a password.</p>
<pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 // Protect the worksheet with a password retrieved from a secure source
 String password = getPasswordFromSecureSource();
 worksheet.protect(password);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>password</code> - The password used to protect the worksheet. Specify <code>null</code> or an empty string to protect the worksheet without a password.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="unprotect()">
<h3>unprotect</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">unprotect</span>()</div>
<div class="block">Removes worksheet protection when the worksheet was protected without a password.
 <pre><code data-language="Java">
 worksheet.getRange("A1").setValue("Name");
 worksheet.protect();
 worksheet.unprotect();
 </code></pre></div>
</section>
</li>
<li>
<section class="detail" id="unprotect(java.lang.String)">
<h3>unprotect</h3>
<div class="member-signature"><span class="return-type">void</span>&nbsp;<span class="element-name">unprotect</span><wbr><span class="parameters">(<a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang">String</a>&nbsp;password)</span></div>
<div class="block">Removes worksheet protection by using the specified password.
 <pre><code data-language="Java">
 // Protect the worksheet with a password retrieved from a secure source
 String password = getPasswordFromSecureSource();
 worksheet.protect(password);
 worksheet.unprotect(password);
 </code></pre></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>password</code> - The password used to remove worksheet protection. Specify the same password that was used to protect the worksheet.</dd>
<dt>Throws:</dt>
<dd><code><a class="external-link" href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the worksheet is password-protected and the specified password is  <code>null</code>, empty, or incorrect.</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>