Share via


WdTextboxTightWrap Enumeration

Specifies how Microsoft Office Word tightly wraps text around text boxes.

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

Syntax

'Declaration
Public Enumeration WdTextboxTightWrap
'Usage
Dim instance As WdTextboxTightWrap
public enum WdTextboxTightWrap

Members

Member name Description
wdTightNone Does not wrap text tightly around the contents of a text box.
wdTightAll Wraps text around the text box tightly to the contents of the text box on all lines.
wdTightFirstAndLastLines Wraps text tightly only on first and last lines.
wdTightFirstLineOnly Wraps text tightly only on the first line.
wdTightLastLineOnly Wraps text tightly only on the last line.

Remarks

Typically, text is wrapped to the extents of the text box, including any white space around its contents. These settings allow the surrounding text to wrap to the contents of the text box and not the extents of the text box itself.

Notes to Implementers

This setting works only if the text box is floating and has no border or fill set.

See Also

Reference

Microsoft.Office.Interop.Word Namespace