Enum PageBackgroundType
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
PageBackgroundType
Các loại nền trang.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
SlidesApp.PageBackgroundType.SOLID
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
UNSUPPORTED | Enum | Loại nền trang không được hỗ trợ. |
NONE | Enum | Không có màu nền, nên nền được hiển thị màu trắng. |
SOLID | Enum | Tô màu đồng nhất. |
PICTURE | Enum | Hình ảnh được kéo giãn để lấp đầy trang. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]