Spread.Sheets Documentation
wordWrap Method
GC.Spread.Sheets Namespace > CellRange type : wordWrap Method
Set to true to let text wrap within the cell.
Gets or sets whether the cell lets text wrap.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.wordWrap(value);
function wordWrap( 
   value : boolean
) : any;

Parameters

value
Set to true to let text wrap within the cell.

Return Value

If no value is set, returns whether the cell lets text wrap; otherwise, returns the cell.
Example
The following examples use the wordWrap method.
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).wordWrap(false);
activeSheet.getCell(1,1).wordWrap(true);
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).wordWrap(true);
Remarks
You can enter multiple lines with Alt+Enter if the wordWrap method is true for the cell.
See Also

Reference

CellRange type