Enum PageElementType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ประเภทองค์ประกอบของหน้า
ประเภทองค์ประกอบของหน้า
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.PageElementType.SHAPE
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | แสดงถึงองค์ประกอบหน้าเว็บที่ระบบไม่รองรับและไม่สามารถจัดประเภทเพิ่มเติมได้ |
SHAPE | Enum | แสดงถึงรูปร่างทั่วไปที่ไม่มีการจัดประเภทที่เฉพาะเจาะจงมากขึ้น |
IMAGE | Enum | แสดงรูปภาพ |
VIDEO | Enum | แสดงวิดีโอ |
TABLE | Enum | แสดงตาราง |
GROUP | Enum | แสดงคอลเล็กชันองค์ประกอบหน้าเว็บที่รวมกันเป็นหน่วยเดียว |
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. |"]]