Enum PageBackgroundType
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
PageArrière-planType
Types d'arrière-plans de page.
Pour appeler un énumération, vous devez appeler sa classe parente, son nom et sa propriété. Par exemple,
SlidesApp.PageBackgroundType.SOLID
.
Propriétés
Propriété | Type | Description |
UNSUPPORTED | Enum | Type d'arrière-plan de page non compatible. |
NONE | Enum | Aucun remplissage, l'arrière-plan est donc affiché en blanc. |
SOLID | Enum | Un remplissage de couleur unie. |
PICTURE | Enum | Image agrandie pour remplir la page. |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 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. |"]]