Enum PageBackgroundType
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
頁面背景類型
頁面背景的類型。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SlidesApp.PageBackgroundType.SOLID
。
屬性
屬性 | 類型 | 說明 |
UNSUPPORTED | Enum | 不支援的網頁背景類型。 |
NONE | Enum | 沒有填充,因此背景會顯示為白色。 |
SOLID | Enum | 純色填滿。 |
PICTURE | Enum | 圖片會延展至填滿整個頁面。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]