Line Breaks and Text Wrapping

To Wrap Text in a Cell

To wrap text in a cell, use the Aspose.Cells.Style.setTextWrapped property.

The following sample code shows how to use text wrapping and explicit line breaks in a cell.

To Use Explicit Line Breaks

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