Enum Dimension
Dimension
An enumeration of possible directions along which data can be stored in a spreadsheet.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.Dimension.COLUMNS
.
Properties
Property | Type | Description |
COLUMNS | Enum | The column (vertical) dimension. |
ROWS | Enum | The row (horizontal) dimension. |
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 2023-09-28 UTC.
[null,null,["Last updated 2023-09-28 UTC."],[[["`Dimension` is used to specify the direction of data in a spreadsheet, either by rows or columns."],["To use a dimension, refer to it using `SpreadsheetApp.Dimension` followed by the specific property like `COLUMNS` or `ROWS`."],["The properties `COLUMNS` and `ROWS` represent the vertical and horizontal dimensions respectively, allowing you to work with data in those directions."]]],[]]