Cell.WordWrap Property 

Returns or sets a value that indicates if Microsoft Word wraps text to multiple lines and lengthens the cell so that the cell width remains the same.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim cell1 As Cell

Dim returnValue As Boolean
returnValue = cell1.WordWrap

Dim sampleValue As Boolean
cell1.WordWrap = sampleValue

Syntax

Property WordWrap() As Boolean
bool WordWrap {get; set;}
property Boolean WordWrap{
    Boolean get();
    Void set(Boolean);
}
public boolean get_WordWrap();
public void set_WordWrap(boolean);
function get WordWrap() : Boolean;
function set WordWrap(Boolean);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Cell Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Cell Members