Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["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."]]],[]]