Share via


Paragraph.WordWrap Property

Determines if Microsoft Word wraps Latin text in the middle of a word in the specified paragraphs or text frames.

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

Syntax

'Declaration
Property WordWrap As Integer
    Get
    Set
'Usage
Dim instance As Paragraph
Dim value As Integer

value = instance.WordWrap

instance.WordWrap = value
int WordWrap { get; set; }

Property Value

Type: System.Int32

Remarks

This property returns True if Word wraps Latin text in the middle of a word in the specified paragraphs or text frames, and False if not. Set the property value to True or False to enable or disable the functionality.

This property returns wdUndefined if it’s set to True for only some of the specified paragraphs or text frames. This usage may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

See Also

Reference

Paragraph Interface

Paragraph Members

Microsoft.Office.Interop.Word Namespace