Enum PredefinedLayout
PredefinedLayout
Predefined layouts. These are commonly found layouts in presentations. However, there is no
guarantee that these layouts are present in the current master as they could have been deleted or
not part of the used theme. Additionally, the placeholders on each layout may have been changed.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.PredefinedLayout.BLANK
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | A layout that is not supported. |
BLANK | Enum | Blank layout, with no placeholders. |
CAPTION_ONLY | Enum | Layout with a caption at the bottom. |
TITLE | Enum | Layout with a title and a subtitle. |
TITLE_AND_BODY | Enum | Layout with a title and body. |
TITLE_AND_TWO_COLUMNS | Enum | Layout with a title and two columns. |
TITLE_ONLY | Enum | Layout with only a title. |
SECTION_HEADER | Enum | Layout with a section title. |
SECTION_TITLE_AND_DESCRIPTION | Enum | Layout with a title and subtitle on one side and description on the other. |
ONE_COLUMN_TEXT | Enum | Layout with one title and one body, arranged in a single column. |
MAIN_POINT | Enum | Layout with a main point. |
BIG_NUMBER | Enum | Layout with a big number heading. |
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."],[[["Predefined layouts are standard presentation layouts but may not be available in all master slides or themes."],["Developers can access predefined layouts using the syntax `SlidesApp.PredefinedLayout.[LayoutName]`, such as `SlidesApp.PredefinedLayout.BLANK` for a blank layout."],["There are various predefined layouts available, including `BLANK`, `CAPTION_ONLY`, `TITLE`, `TITLE_AND_BODY`, `TITLE_AND_TWO_COLUMNS`, `TITLE_ONLY`, `SECTION_HEADER`, `SECTION_TITLE_AND_DESCRIPTION`, `ONE_COLUMN_TEXT`, `MAIN_POINT`, and `BIG_NUMBER`."],["Although predefined, the layout's placeholders may have been modified from their default settings."]]],["Predefined layouts, common in presentations, may not be available due to deletion or theme changes. Placeholders within layouts can also be modified. Access predefined layouts via their parent class, name, and property (e.g., `SlidesApp.PredefinedLayout.BLANK`). Supported layouts include `BLANK`, `CAPTION_ONLY`, `TITLE`, `TITLE_AND_BODY`, `TITLE_AND_TWO_COLUMNS`, `TITLE_ONLY`, `SECTION_HEADER`, `SECTION_TITLE_AND_DESCRIPTION`, `ONE_COLUMN_TEXT`, `MAIN_POINT`, and `BIG_NUMBER`; `UNSUPPORTED` is also listed.\n"]]