Enum PageElementType

  • 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.

PageElementType

The page element type.

To call an enum, you call its parent class, name, and property. For example, SlidesApp.PageElementType.SHAPE.

Properties

PropertyTypeDescription
UNSUPPORTEDEnumRepresents a page element that is not supported and cannot be further classified.
SHAPEEnumRepresents a generic shape that does not have a more specific classification.
IMAGEEnumRepresents an image.
VIDEOEnumRepresents a video.
TABLEEnumRepresents a table.
GROUPEnumRepresents a collection of page elements joined as a single unit.
LINEEnumRepresents a line.
WORD_ARTEnumRepresents word art.
SHEETS_CHARTEnumRepresents a linked chart embedded from Google Sheets.
SPEAKER_SPOTLIGHTEnumRepresents a speaker spotlight.