Mantieni tutto organizzato con le raccolte Salva e classifica i contenuti in base alle tue preferenze.
Strategia di wrapping
Un'enumerazione delle strategie utilizzate per gestire il rientro del testo delle celle.
Per chiamare un enum, devi chiamare la relativa classe, il nome e la proprietà di base. Ad esempio, SpreadsheetApp.WrapStrategy.WRAP.
Proprietà
Proprietà
Tipo
Descrizione
WRAP
Enum
Inserisci un a capo per le righe più lunghe della larghezza della cella. Le singole parole più lunghe di una riga vengono a capo a livello di carattere.
OVERFLOW
Enum
Le righe in eccesso vengono inserite nella cella successiva, a condizione che sia vuota. Se la cella successiva non è vuota, il comportamento è lo stesso di CLIP.
CLIP
Enum
Taglia le righe più lunghe della larghezza della cella.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eWrapStrategy\u003c/code\u003e is used to control how text wraps within a cell in Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWRAP\u003c/code\u003e wraps text to new lines within the cell, \u003ccode\u003eOVERFLOW\u003c/code\u003e extends text to the next cell if empty, and \u003ccode\u003eCLIP\u003c/code\u003e cuts off overflowing text.\u003c/p\u003e\n"],["\u003cp\u003eAccess these options using \u003ccode\u003eSpreadsheetApp.WrapStrategy\u003c/code\u003e followed by the desired property like \u003ccode\u003eWRAP\u003c/code\u003e, \u003ccode\u003eOVERFLOW\u003c/code\u003e, or \u003ccode\u003eCLIP\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum WrapStrategy\n\nWrapStrategy\n\nAn enumeration of the strategies used to handle cell text wrapping.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.WrapStrategy.WRAP`. \n\n### Properties\n\n| Property | Type | Description |\n|------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| `WRAP` | `Enum` | Wrap lines that are longer than the cell width onto a new line. Single words that are longer than a line are wrapped at the character level. |\n| `OVERFLOW` | `Enum` | Overflow lines into the next cell, so long as that cell is empty. If the next cell over is non-empty, this behaves the same as `CLIP`. |\n| `CLIP` | `Enum` | Clip lines that are longer than the cell width. |"]]