Enum TextBaselineOffset
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`TextBaselineOffset` controls the vertical positioning of text relative to its baseline."],["It offers four options: `UNSUPPORTED`, `NONE`, `SUPERSCRIPT` (shifts text upwards), and `SUBSCRIPT` (shifts text downwards)."],["To use it, specify the desired property using the format `SlidesApp.TextBaselineOffset.[Property]`, such as `SlidesApp.TextBaselineOffset.SUPERSCRIPT`."]]],[]]