Enum PageBackgroundType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ประเภทพื้นหลังหน้าเว็บ
ประเภทของพื้นหลังหน้าเว็บ
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SlidesApp.PageBackgroundType.SOLID
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
UNSUPPORTED | Enum | ประเภทพื้นหลังหน้าเว็บที่ไม่รองรับ |
NONE | Enum | ไม่มีสีเติม ระบบจึงแสดงผลพื้นหลังเป็นสีขาว |
SOLID | Enum | เติมสีทึบ |
PICTURE | Enum | รูปภาพที่ขยายให้เต็มหน้า |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003ePageBackgroundType\u003c/code\u003e defines the different background options for Google Slides pages.\u003c/p\u003e\n"],["\u003cp\u003eThe enum includes options for unsupported types, no fill, solid color fills, and picture fills, each with its specific behavior.\u003c/p\u003e\n"],["\u003cp\u003eYou can reference a specific \u003ccode\u003ePageBackgroundType\u003c/code\u003e using the syntax \u003ccode\u003eSlidesApp.PageBackgroundType.[Property]\u003c/code\u003e.\u003c/p\u003e\n"]]],["`PageBackgroundType` defines the different types of page backgrounds available. These include `UNSUPPORTED`, which is for unsupported types, `NONE` for a white background, `SOLID` for a solid color fill, and `PICTURE` for a stretched image. To use a specific type, refer to it as `SlidesApp.PageBackgroundType.PROPERTY`. Each property is an enum and describes a distinct way to style the background of a page.\n"],null,["# Enum PageBackgroundType\n\nPageBackgroundType\n\nThe kinds of page backgrounds.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSlidesApp.PageBackgroundType.SOLID`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------|--------|-----------------------------------------------|\n| `UNSUPPORTED` | `Enum` | A page background type that is not supported. |\n| `NONE` | `Enum` | No fill, so the background is rendered white. |\n| `SOLID` | `Enum` | A solid color fill. |\n| `PICTURE` | `Enum` | A picture that is stretched to fill the page. |"]]