Udostępnij za pośrednictwem


NamedRange.WrapText Property (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property WrapText As Object
'Usage
Dim instance As NamedRange 
Dim value As Object 

value = instance.WrapText

instance.WrapText = value
[BrowsableAttribute(false)]
public Object WrapText { get; set; }
[BrowsableAttribute(false)]
public:
property Object^ WrapText {
    Object^ get ();
    void set (Object^ value);
}
public function get WrapText () : Object 
public function set WrapText (value : Object)

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 Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace