Enum TextDirection
Stay organized with collections
Save and categorize content based on your preferences.
TextDirection
An enumerations of text directions.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.TextDirection.LEFT_TO_RIGHT
.
Properties
Property | Type | Description |
LEFT_TO_RIGHT | Enum | Left-to-right text direction. |
RIGHT_TO_LEFT | Enum | Right-to-left text direction. |
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-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["\u003cp\u003e\u003ccode\u003eTextDirection\u003c/code\u003e is used to specify the direction in which text flows within a spreadsheet.\u003c/p\u003e\n"],["\u003cp\u003eTwo options are available: \u003ccode\u003eLEFT_TO_RIGHT\u003c/code\u003e and \u003ccode\u003eRIGHT_TO_LEFT\u003c/code\u003e, accessed using \u003ccode\u003eSpreadsheetApp.TextDirection\u003c/code\u003e followed by the desired property.\u003c/p\u003e\n"]]],[],null,["# Enum TextDirection\n\nTextDirection\n\nAn enumerations of text directions.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.TextDirection.LEFT_TO_RIGHT`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------|--------|-------------------------------|\n| `LEFT_TO_RIGHT` | `Enum` | Left-to-right text direction. |\n| `RIGHT_TO_LEFT` | `Enum` | Right-to-left text direction. |"]]