Enum PageElementType
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Тип элемента страницы Тип элемента страницы.
Чтобы вызвать перечисление, вы вызываете его родительский класс, имя и свойство. Например, SlidesApp.PageElementType.SHAPE
.
Характеристики
Свойство | Тип | Описание |
---|
UNSUPPORTED | Enum | Представляет элемент страницы, который не поддерживается и не подлежит дальнейшей классификации. |
SHAPE | Enum | Представляет собой общую форму, не имеющую более конкретной классификации. |
IMAGE | Enum | Представляет изображение. |
VIDEO | Enum | Представляет видео. |
TABLE | Enum | Представляет таблицу. |
GROUP | Enum | Представляет коллекцию элементов страницы, объединенных как единое целое. |
LINE | Enum | Представляет линию. |
WORD_ART | Enum | Представляет искусство слова. |
SHEETS_CHART | Enum | Представляет связанную диаграмму, внедренную из Google Sheets. |
SPEAKER_SPOTLIGHT | Enum | Представляет прожектор динамика. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003e\u003ccode\u003ePageElementType\u003c/code\u003e is used to identify the type of element on a Slides page, like a shape, image, or table.\u003c/p\u003e\n"],["\u003cp\u003eTo reference a specific element type, use the format \u003ccode\u003eSlidesApp.PageElementType.[Element Type]\u003c/code\u003e, for example, \u003ccode\u003eSlidesApp.PageElementType.SHAPE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are various predefined element types including \u003ccode\u003eUNSUPPORTED\u003c/code\u003e, \u003ccode\u003eSHAPE\u003c/code\u003e, \u003ccode\u003eIMAGE\u003c/code\u003e, \u003ccode\u003eVIDEO\u003c/code\u003e, \u003ccode\u003eTABLE\u003c/code\u003e, \u003ccode\u003eGROUP\u003c/code\u003e, \u003ccode\u003eLINE\u003c/code\u003e, \u003ccode\u003eWORD_ART\u003c/code\u003e, \u003ccode\u003eSHEETS_CHART\u003c/code\u003e, and \u003ccode\u003eSPEAKER_SPOTLIGHT\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003ePageElementType\u003c/code\u003e provides a way to categorize and interact with different components within Google Slides presentations programmatically.\u003c/p\u003e\n"]]],[],null,["# Enum PageElementType\n\nPageElementType\n\nThe page element type.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PageElementType.SHAPE`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------|--------|-----------------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | Represents a page element that is not supported and cannot be further classified. |\n| `SHAPE` | `Enum` | Represents a generic shape that does not have a more specific classification. |\n| `IMAGE` | `Enum` | Represents an image. |\n| `VIDEO` | `Enum` | Represents a video. |\n| `TABLE` | `Enum` | Represents a table. |\n| `GROUP` | `Enum` | Represents a collection of page elements joined as a single unit. |\n| `LINE` | `Enum` | Represents a line. |\n| `WORD_ART` | `Enum` | Represents word art. |\n| `SHEETS_CHART` | `Enum` | Represents a linked chart embedded from Google Sheets. |\n| `SPEAKER_SPOTLIGHT` | `Enum` | Represents a speaker spotlight. |"]]