AI-generated Key Takeaways
-
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 asSlidesApp.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
, andBIG_NUMBER
. -
Although predefined, the layout's placeholders may have been modified from their default settings.
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. |