Line Breaks and Text Wrapping

To Wrap Text in a Cell

To wrap text in a cell, use the Style.is_text_wrapped property.

To Use Explicit Line Breaks

You can use ‘\n’ in C# and ‘ vbLf’ in VB.NET to insert explicit line breaks in a cell.