Enum AlignmentPosition
Stay organized with collections
Save and categorize content based on your preferences.
AlignmentPosition
The alignment position to apply.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.AlignmentPosition.CENTER
.
Properties
Property | Type | Description |
CENTER | Enum | Align to the center. |
HORIZONTAL_CENTER | Enum | Align to the horizontal center. |
VERTICAL_CENTER | Enum | Align to the vertical center. |
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\u003eAlignmentPosition\u003c/code\u003e determines the alignment of elements.\u003c/p\u003e\n"],["\u003cp\u003eTo use an alignment position, call it using the syntax \u003ccode\u003eSlidesApp.AlignmentPosition.PROPERTY\u003c/code\u003e, substituting the desired property like \u003ccode\u003eCENTER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable alignment properties include \u003ccode\u003eCENTER\u003c/code\u003e, \u003ccode\u003eHORIZONTAL_CENTER\u003c/code\u003e, and \u003ccode\u003eVERTICAL_CENTER\u003c/code\u003e for aligning elements to the center, horizontal center, and vertical center, respectively.\u003c/p\u003e\n"]]],[],null,["# Enum AlignmentPosition\n\nAlignmentPosition\n\nThe alignment position to apply.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.AlignmentPosition.CENTER`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------|--------|---------------------------------|\n| `CENTER` | `Enum` | Align to the center. |\n| `HORIZONTAL_CENTER` | `Enum` | Align to the horizontal center. |\n| `VERTICAL_CENTER` | `Enum` | Align to the vertical center. |"]]