Line Breaks and Text Wrapping

To Wrap Text in a Cell

To wrap text in a cell, use the Aspose.Cells.Style.setIsTextWrapped(boolean) method.

To Use Explicit Line Breaks

You can use ‘\n’ in JavaScript to insert explicit line breaks in a cell.