WrapText Property
Collapse the table of content
Expand the table of content

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)

object WrapText { get; set; }

Property Value

Type: System.Object

true if Excel wraps the text in the object; null if the NamedRange control contains some cells that wrap text and other cells that do not wrap text.

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

Return to top
© 2016 Microsoft