Enum Dimension
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
크기
데이터를 스프레드시트에 저장할 수 있는 가능한 방향의 열거입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다.
SpreadsheetApp.Dimension.COLUMNS
을 예로 들 수 있습니다.
속성
속성 | 유형 | 설명 |
COLUMNS | Enum | 열 (세로) 측정기준입니다. |
ROWS | Enum | 행 (가로) 측정기준입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eDimension\u003c/code\u003e is used to specify the direction of data in a spreadsheet, either by rows or columns.\u003c/p\u003e\n"],["\u003cp\u003eTo use a dimension, refer to it using \u003ccode\u003eSpreadsheetApp.Dimension\u003c/code\u003e followed by the specific property like \u003ccode\u003eCOLUMNS\u003c/code\u003e or \u003ccode\u003eROWS\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eCOLUMNS\u003c/code\u003e and \u003ccode\u003eROWS\u003c/code\u003e represent the vertical and horizontal dimensions respectively, allowing you to work with data in those directions.\u003c/p\u003e\n"]]],["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"],null,["# Enum Dimension\n\nDimension\n\nAn enumeration of possible directions along which data can be stored in a spreadsheet.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.Dimension.COLUMNS`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|----------------------------------|\n| `COLUMNS` | `Enum` | The column (vertical) dimension. |\n| `ROWS` | `Enum` | The row (horizontal) dimension. |"]]