DimensionRange
A range along a single dimension on a sheet. All indexes are zero-based. Indexes are half open: the start index is inclusive and the end index is exclusive. Missing indexes indicate the range is unbounded on that side.
JSON representation |
{
"sheetId": integer,
"dimension": enum (Dimension ),
"startIndex": integer,
"endIndex": integer
} |
Fields |
sheetId |
integer
The sheet this span is on.
|
dimension |
enum (Dimension )
The dimension of the span.
|
startIndex |
integer
The start (inclusive) of the span, or not set if unbounded.
|
endIndex |
integer
The end (exclusive) of the span, or not set if unbounded.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["A `GridRange` defines a range within a sheet using sheet ID, dimension, and start/end indexes."],["Indexes are zero-based and half-open, meaning the start index is included, and the end index is excluded."],["Missing start or end indexes imply the range is unbounded on the corresponding side."],["`GridRange` is represented in JSON format using `sheetId`, `dimension`, `startIndex`, and `endIndex` properties."]]],["This JSON structure represents a range on a sheet along a single dimension. It defines the `sheetId`, the `dimension` (e.g., rows or columns), and the span's start and end indexes. Indexes are zero-based, with the start index being inclusive and the end index exclusive. If `startIndex` or `endIndex` are not specified, the range is unbounded on that particular side. The structure includes these four data points to describe ranges within a single sheet dimension.\n"]]