DimensionRange
Es un rango de una sola dimensión en una hoja. Todos los índices se basan en cero. Los índices son semiabiertos: el índice de inicio es inclusivo y el de fin es exclusivo. Los índices faltantes indican que el rango no está delimitado en ese lado.
Representación JSON |
{
"sheetId": integer,
"dimension": enum (Dimension ),
"startIndex": integer,
"endIndex": integer
} |
Campos |
sheetId |
integer
La hoja en la que se encuentra este intervalo.
|
dimension |
enum (Dimension )
La dimensión del intervalo.
|
startIndex |
integer
El inicio (inclusivo) del intervalo, o no se establece si no está delimitado.
|
endIndex |
integer
El final (exclusivo) del intervalo; no se establece si no está delimitado.
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-10-15 (UTC)
[null,null,["Última actualización: 2024-10-15 (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"]]