[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.WrapText

WrapText Property

WrapText

Gets or sets whether text wraps automatically.

Use this property to control whether text in cells that use the style is wrapped.

Declaration
bool WrapText { get; set; }
Property WrapText As Boolean
Examples
IStyle style = workbook.Styles.Add("wrapStyle");
style.WrapText = true;
worksheet.Range["A1"].Style = style;
bool wrapText = style.WrapText;