Enum WrapStyle
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
WrapStyle
Ein Enum, das den Umbruchstil für Inhalte in einer Spalte festlegt.
Verfügbar für Google Chat-Apps und Google Workspace-Add-ons.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
CardService.WrapStyle.WRAP
.
Attribute
Attribut | Typ | Beschreibung |
NOWRAP | Enum | Ohne Umbruch. Standard. |
WRAP | Enum | Der Inhalt aller Widgets in einer Spalte wird umgebrochen. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eWrapStyle\u003c/code\u003e is an enum used to control text wrapping within columns in Google Chat apps and Google Workspace Add-ons.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eNOWRAP\u003c/code\u003e (default, no wrapping) and \u003ccode\u003eWRAP\u003c/code\u003e (wraps content within column widgets).\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call the enum through its parent class and name, such as \u003ccode\u003eCardService.WrapStyle.WRAP\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum WrapStyle\n\nWrapStyle\n\nAn enum that sets the wrapping style for content within a column.\n\nAvailable for Google Chat apps and Google Workspace add-ons.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.WrapStyle.WRAP`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|------------------------------------------------|\n| `NOWRAP` | `Enum` | No wrapping. Default. |\n| `WRAP` | `Enum` | Wraps the content for any widgets in a column. |"]]