Share via


DisplayFormat.WrapText Property

Gets a value that indicates if Microsoft Excel wraps the text of the associated Range object as it is displayed in the current user interface.

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

Syntax

'Declaration
ReadOnly Property WrapText As Object
    Get
'Usage
Dim instance As DisplayFormat
Dim value As Object

value = instance.WrapText
Object WrapText { get; }

Property Value

Type: System.Object
Indicates if Microsoft Excel wraps the text of the associated Range object as it is displayed in the current user interface.

Remarks

Read-only.

Returns true if text is wrapped in all cells within the range.

See Also

Reference

DisplayFormat Interface

DisplayFormat Members

Microsoft.Office.Interop.Excel Namespace