[]
Gets or sets the flag which indicates whether word wrap is enabled in a cell.
bool WrapText { get; set; }
Property WrapText As Boolean
| Type | Description |
|---|---|
| bool |
|
IRange range = worksheet.Range["A1"];
range.Value = "Line 1\nLine 2";
range.WrapText = true;
bool wrapText = range.WrapText;