Enum Dimension
尺寸
枚举在电子表格中存储数据的可能方向。
若要调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.Dimension.COLUMNS
。
属性
媒体资源 | 类型 | 说明 |
COLUMNS | Enum | 列(行业)维度。 |
ROWS | Enum | 行(水平)维度。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["`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."]]],["The `Dimension` enum defines directions for data storage in a spreadsheet. It is accessed via its parent class, `SpreadsheetApp`, followed by its name and property, such as `SpreadsheetApp.Dimension.COLUMNS`. It contains two properties: `COLUMNS`, representing the vertical dimension, and `ROWS`, representing the horizontal dimension. These properties are used to specify whether data is oriented vertically or horizontally.\n"]]