Enum PageBackgroundType
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Тип фона страницы Виды фонов страниц.
Чтобы вызвать перечисление, вы вызываете его родительский класс, имя и свойство. Например, SlidesApp.PageBackgroundType.SOLID
.
Характеристики
Свойство | Тип | Описание |
---|
UNSUPPORTED | Enum | Тип фона страницы, который не поддерживается. |
NONE | Enum | Заливки нет, поэтому фон становится белым. |
SOLID | Enum | Сплошная цветная заливка. |
PICTURE | Enum | Изображение, растянутое на всю страницу. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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. |"]]