Enum WrapStyle
Stay organized with collections
Save and categorize content based on your preferences.
WrapStyle
An enum that sets the wrapping style for content within a column.
Available for Google Chat apps and Google Workspace add-ons.
To call an enum, you call its parent class, name, and property. For example,
CardService.WrapStyle.WRAP
.
Properties
Property | Type | Description |
NOWRAP | Enum | No wrapping. Default. |
WRAP | Enum | Wraps the content for any widgets in a column. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-30 UTC.
[null,null,["Last updated 2025-01-30 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. |"]]