public final class WorksheetRange extends Object
| Constructor and Description |
|---|
WorksheetRange(int minRowIndex,
int maxRowIndex,
int minColumnIndex,
int maxColumnIndex)
Initializes a new instance of the
WorksheetRange class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxColumnIndex()
Gets an index of the last column.
|
int |
getMaxRowIndex()
Gets an index of the last row.
|
int |
getMinColumnIndex()
Gets an index of the first column.
|
int |
getMinRowIndex()
Gets an index of the first row.
|
boolean |
isEmpty()
Gets a value that indicates whether the range is empty.
|
public WorksheetRange(int minRowIndex,
int maxRowIndex,
int minColumnIndex,
int maxColumnIndex)
WorksheetRange class.minRowIndex - The zero-based index of the first row.maxRowIndex - The zero-based index of the last row.minColumnIndex - The zero-based index of the first column.maxColumnIndex - The zero-based index of the last column.IllegalArgumentException - if the arguments are out of range.public boolean isEmpty()
true if the range is empty; otherwise, false.public int getMinRowIndex()
public int getMaxRowIndex()
public int getMinColumnIndex()
public int getMaxColumnIndex()
Copyright © 2026. All rights reserved.