Enum PageElementType
PageElementType
The page element type.
To call an enum, you call its parent class, name, and property. For example,
SlidesApp.PageElementType.SHAPE
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | Represents a page element that is not supported and cannot be further classified. |
SHAPE | Enum | Represents a generic shape that does not have a more specific classification. |
IMAGE | Enum | Represents an image. |
VIDEO | Enum | Represents a video. |
TABLE | Enum | Represents a table. |
GROUP | Enum | Represents a collection of page elements joined as a single unit. |
LINE | Enum | Represents a line. |
WORD_ART | Enum | Represents word art. |
SHEETS_CHART | Enum | Represents a linked chart embedded from Google Sheets. |
SPEAKER_SPOTLIGHT | Enum | Represents a speaker spotlight. |
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."],[[["`PageElementType` is used to identify the type of element on a Slides page, like a shape, image, or table."],["To reference a specific element type, use the format `SlidesApp.PageElementType.[Element Type]`, for example, `SlidesApp.PageElementType.SHAPE`."],["There are various predefined element types including `UNSUPPORTED`, `SHAPE`, `IMAGE`, `VIDEO`, `TABLE`, `GROUP`, `LINE`, `WORD_ART`, `SHEETS_CHART`, and `SPEAKER_SPOTLIGHT`."],["Each `PageElementType` provides a way to categorize and interact with different components within Google Slides presentations programmatically."]]],[]]