Share via


NamedRange.WrapText Property

Gets or sets a value that indicates whether Microsoft Office Excel wraps the text in the NamedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property WrapText As Object
Object WrapText { get; set; }

Property Value

Type: System.Object
true if Excel wraps the text in the object; nulla null reference (Nothing in Visual Basic) if the NamedRange control contains some cells that wrap text and other cells that do not wrap text.

Remarks

Excel will change the row height of the NamedRange control, if necessary, to accommodate the text in the range.

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace