[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.WrapText

WrapText Property

WrapText

Gets or sets the flag which indicates whether word wrap is enabled in a cell.

Declaration
bool WrapText { get; set; }
Property WrapText As Boolean
Property Value
Type Description
bool

true if [wrap text]; otherwise, false.

Examples
IRange range = worksheet.Range["A1"];
range.Value = "Line 1\nLine 2";
range.WrapText = true;
bool wrapText = range.WrapText;