Enum PlaceholderType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ประเภทตัวยึดตําแหน่ง
ประเภทตัวยึดตําแหน่ง ตัวยึดตําแหน่งหลายประเภทเหล่านี้สอดคล้องกับรหัสตัวยึดตําแหน่งจากมาตรฐาน ECMA-376 ดูข้อมูลเพิ่มเติมเกี่ยวกับรูปร่างเหล่านั้นได้ในคำอธิบายของประเภท "ST_PlaceholderType" ในส่วน 19.7.10 ของ "รูปแบบไฟล์ Office Open XML - ข้อมูลเบื้องต้นและข้อมูลอ้างอิงภาษามาร์กอัป" ส่วนที่ 1 ของ ECMA-376 ฉบับที่ 5
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.PlaceholderType.BODY
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | ประเภทตัวยึดตําแหน่งที่ไม่รองรับ |
NONE | Enum | ไม่ใช่ตัวยึดตําแหน่ง |
BODY | Enum | ข้อความเนื้อหา |
CHART | Enum | แผนภูมิหรือกราฟ |
CLIP_ART | Enum | รูปภาพคลิปอาร์ต |
CENTERED_TITLE | Enum | ชื่ออยู่ตรงกลาง |
DIAGRAM | Enum | แผนภาพ |
DATE_AND_TIME | Enum | วันที่และเวลา |
FOOTER | Enum | ข้อความส่วนท้าย |
HEADER | Enum | ข้อความส่วนหัว |
MEDIA | Enum | มัลติมีเดีย |
OBJECT | Enum | เนื้อหาทุกประเภท |
PICTURE | Enum | รูปภาพ |
SLIDE_NUMBER | Enum | หมายเลขสไลด์ |
SUBTITLE | Enum | คำบรรยาย |
TABLE | Enum | ตาราง |
TITLE | Enum | ชื่อสไลด์ |
SLIDE_IMAGE | Enum | รูปภาพสไลด์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003ePlaceholderType is used to specify the type of content a placeholder in Google Slides can hold, like text, images, or charts.\u003c/p\u003e\n"],["\u003cp\u003eThese types are based on the ECMA-376 standard for Office Open XML file formats, with more details available in the standard's documentation.\u003c/p\u003e\n"],["\u003cp\u003eTo use a PlaceholderType, refer to its parent class (SlidesApp), name (PlaceholderType), and specific property (e.g., BODY for body text).\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive list of PlaceholderTypes is provided, including common types like TITLE, BODY, CHART, and more specific ones like DATE_AND_TIME or SLIDE_NUMBER.\u003c/p\u003e\n"],["\u003cp\u003eIf a placeholder type isn't recognized, it falls under the UNSUPPORTED or NONE types.\u003c/p\u003e\n"]]],["Placeholder types, corresponding to ECMA-376 standard IDs, are accessed via `SlidesApp.PlaceholderType.PROPERTY`. Key types include: `UNSUPPORTED`, `NONE`, `BODY` (text), `CHART`, `CLIP_ART`, `CENTERED_TITLE`, `DIAGRAM`, `DATE_AND_TIME`, `FOOTER`, `HEADER`, `MEDIA`, `OBJECT`, `PICTURE`, `SLIDE_NUMBER`, `SUBTITLE`, `TABLE`, `TITLE`, and `SLIDE_IMAGE`. Each represents a specific content category, like text, visuals, or metadata, within a slide. Refer to the standard for more shape details.\n"],null,["# Enum PlaceholderType\n\nPlaceholderType\n\nThe placeholder types. Many of these placeholder types correspond to placeholder IDs from the\nECMA-376 standard. More information on those shapes can be found in the description of the\n\"ST_PlaceholderType\" type in section 19.7.10 of \"Office Open XML File Formats - Fundamentals and\nMarkup Language Reference\", part 1 of [ECMA-376 5th\nedition](https://ecma-international.org/publications-and-standards/standards/ecma-376/).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PlaceholderType.BODY`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A placeholder type that is not supported. |\n| `NONE` | `Enum` | Not a Placeholder. |\n| `BODY` | `Enum` | Body text. |\n| `CHART` | `Enum` | Chart or graph. |\n| `CLIP_ART` | `Enum` | Clip art image. |\n| `CENTERED_TITLE` | `Enum` | Title centered. |\n| `DIAGRAM` | `Enum` | Diagram. |\n| `DATE_AND_TIME` | `Enum` | Date and time. |\n| `FOOTER` | `Enum` | Footer text. |\n| `HEADER` | `Enum` | Header text. |\n| `MEDIA` | `Enum` | Multimedia. |\n| `OBJECT` | `Enum` | Any content type. |\n| `PICTURE` | `Enum` | Picture. |\n| `SLIDE_NUMBER` | `Enum` | Number of a slide. |\n| `SUBTITLE` | `Enum` | Subtitle. |\n| `TABLE` | `Enum` | Table. |\n| `TITLE` | `Enum` | Slide title. |\n| `SLIDE_IMAGE` | `Enum` | Slide image. |"]]