Enum TextBaselineOffset
Stay organized with collections
Save and categorize content based on your preferences.
TextBaselineOffset
The text vertical offset from its normal position.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.TextBaselineOffset.SUPERSCRIPT
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | An text baseline offset that is not supported. |
NONE | Enum | The text is not vertically offset. |
SUPERSCRIPT | Enum | The text is vertically offset upwards. |
SUBSCRIPT | Enum | The text is vertically offset downwards. |
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\u003eTextBaselineOffset\u003c/code\u003e controls the vertical positioning of text relative to its baseline.\u003c/p\u003e\n"],["\u003cp\u003eIt offers four options: \u003ccode\u003eUNSUPPORTED\u003c/code\u003e, \u003ccode\u003eNONE\u003c/code\u003e, \u003ccode\u003eSUPERSCRIPT\u003c/code\u003e (shifts text upwards), and \u003ccode\u003eSUBSCRIPT\u003c/code\u003e (shifts text downwards).\u003c/p\u003e\n"],["\u003cp\u003eTo use it, specify the desired property using the format \u003ccode\u003eSlidesApp.TextBaselineOffset.[Property]\u003c/code\u003e, such as \u003ccode\u003eSlidesApp.TextBaselineOffset.SUPERSCRIPT\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum TextBaselineOffset\n\nTextBaselineOffset\n\nThe text vertical offset from its normal position.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.TextBaselineOffset.SUPERSCRIPT`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | An text baseline offset that is not supported. |\n| `NONE` | `Enum` | The text is not vertically offset. |\n| `SUPERSCRIPT` | `Enum` | The text is vertically offset upwards. |\n| `SUBSCRIPT` | `Enum` | The text is vertically offset downwards. |"]]