Enum PageElementType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ページ要素タイプ
ページ要素のタイプ。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SlidesApp.PageElementType.SHAPE
です。
プロパティ
プロパティ | タイプ | 説明 |
UNSUPPORTED | Enum | サポートされていないページ要素で、さらに分類できないものを表します。 |
SHAPE | Enum | より具体的な分類がない汎用的な図形を表します。 |
IMAGE | Enum | 画像を表します。 |
VIDEO | Enum | 動画を表します。 |
TABLE | Enum | テーブルを表します。 |
GROUP | Enum | 1 つの単位として結合されたページ要素のコレクションを表します。 |
LINE | Enum | 線を表します。 |
WORD_ART | Enum | ワードアートを表します。 |
SHEETS_CHART | Enum | Google スプレッドシートから埋め込まれたリンクされたグラフを表します。 |
SPEAKER_SPOTLIGHT | Enum | スピーカー スポットライトを表します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 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. |"]]