Enum PredefinedLayout
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลย์เอาต์ที่กำหนดไว้ล่วงหน้า
เลย์เอาต์ที่กำหนดไว้ล่วงหน้า รูปแบบเหล่านี้เป็นรูปแบบที่พบได้ทั่วไปในงานนำเสนอ อย่างไรก็ตาม เราไม่รับประกันว่าเลย์เอาต์เหล่านี้จะอยู่ในต้นฉบับปัจจุบัน เนื่องจากอาจถูกลบไปแล้วหรือไม่ได้อยู่ในธีมที่ใช้ นอกจากนี้ ตัวยึดตําแหน่งในเลย์เอาต์แต่ละรายการอาจเปลี่ยนแปลงไป
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.PredefinedLayout.BLANK
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | เลย์เอาต์ที่ไม่รองรับ |
BLANK | Enum | เลย์เอาต์ว่างเปล่าที่ไม่มีตัวยึดตำแหน่ง |
CAPTION_ONLY | Enum | เลย์เอาต์ที่มีคำบรรยายที่ด้านล่าง |
TITLE | Enum | เลย์เอาต์ที่มีชื่อและชื่อรอง |
TITLE_AND_BODY | Enum | เลย์เอาต์ที่มีชื่อและเนื้อหา |
TITLE_AND_TWO_COLUMNS | Enum | เลย์เอาต์ที่มีชื่อและ 2 คอลัมน์ |
TITLE_ONLY | Enum | เลย์เอาต์ที่มีเพียงชื่อ |
SECTION_HEADER | Enum | เลย์เอาต์ที่มีชื่อส่วน |
SECTION_TITLE_AND_DESCRIPTION | Enum | เลย์เอาต์ที่มีชื่อและคำบรรยายอยู่ด้านหนึ่งและคำอธิบายอยู่อีกด้านหนึ่ง |
ONE_COLUMN_TEXT | Enum | เลย์เอาต์ที่มีชื่อและเนื้อหารายการเดียว จัดเรียงในคอลัมน์เดียว |
MAIN_POINT | Enum | เลย์เอาต์ที่มีประเด็นหลัก |
BIG_NUMBER | Enum | เลย์เอาต์ที่มีส่วนหัวตัวเลขขนาดใหญ่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003ePredefined layouts are standard presentation layouts but may not be available in all master slides or themes.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access predefined layouts using the syntax \u003ccode\u003eSlidesApp.PredefinedLayout.[LayoutName]\u003c/code\u003e, such as \u003ccode\u003eSlidesApp.PredefinedLayout.BLANK\u003c/code\u003e for a blank layout.\u003c/p\u003e\n"],["\u003cp\u003eThere are various predefined layouts available, including \u003ccode\u003eBLANK\u003c/code\u003e, \u003ccode\u003eCAPTION_ONLY\u003c/code\u003e, \u003ccode\u003eTITLE\u003c/code\u003e, \u003ccode\u003eTITLE_AND_BODY\u003c/code\u003e, \u003ccode\u003eTITLE_AND_TWO_COLUMNS\u003c/code\u003e, \u003ccode\u003eTITLE_ONLY\u003c/code\u003e, \u003ccode\u003eSECTION_HEADER\u003c/code\u003e, \u003ccode\u003eSECTION_TITLE_AND_DESCRIPTION\u003c/code\u003e, \u003ccode\u003eONE_COLUMN_TEXT\u003c/code\u003e, \u003ccode\u003eMAIN_POINT\u003c/code\u003e, and \u003ccode\u003eBIG_NUMBER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAlthough predefined, the layout's placeholders may have been modified from their default settings.\u003c/p\u003e\n"]]],["Predefined layouts, common in presentations, may not be available due to deletion or theme changes. Placeholders within layouts can also be modified. Access predefined layouts via their parent class, name, and property (e.g., `SlidesApp.PredefinedLayout.BLANK`). Supported layouts include `BLANK`, `CAPTION_ONLY`, `TITLE`, `TITLE_AND_BODY`, `TITLE_AND_TWO_COLUMNS`, `TITLE_ONLY`, `SECTION_HEADER`, `SECTION_TITLE_AND_DESCRIPTION`, `ONE_COLUMN_TEXT`, `MAIN_POINT`, and `BIG_NUMBER`; `UNSUPPORTED` is also listed.\n"],null,["# Enum PredefinedLayout\n\nPredefinedLayout\n\nPredefined layouts. These are commonly found layouts in presentations. However, there is no\nguarantee that these layouts are present in the current master as they could have been deleted or\nnot part of the used theme. Additionally, the placeholders on each layout may have been changed.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PredefinedLayout.BLANK`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------------------|--------|----------------------------------------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A layout that is not supported. |\n| `BLANK` | `Enum` | Blank layout, with no placeholders. |\n| `CAPTION_ONLY` | `Enum` | Layout with a caption at the bottom. |\n| `TITLE` | `Enum` | Layout with a title and a subtitle. |\n| `TITLE_AND_BODY` | `Enum` | Layout with a title and body. |\n| `TITLE_AND_TWO_COLUMNS` | `Enum` | Layout with a title and two columns. |\n| `TITLE_ONLY` | `Enum` | Layout with only a title. |\n| `SECTION_HEADER` | `Enum` | Layout with a section title. |\n| `SECTION_TITLE_AND_DESCRIPTION` | `Enum` | Layout with a title and subtitle on one side and description on the other. |\n| `ONE_COLUMN_TEXT` | `Enum` | Layout with one title and one body, arranged in a single column. |\n| `MAIN_POINT` | `Enum` | Layout with a main point. |\n| `BIG_NUMBER` | `Enum` | Layout with a big number heading. |"]]