Expand Minimize

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)

[GuidAttribute("D05EB81F-37A2-3F3E-AE25-A672C0D2D502")]
public enum WdTextboxTightWrap

Member nameDescription
wdTightNoneDoes not wrap text tightly around the contents of a text box.
wdTightAllWraps text around the text box tightly to the contents of the text box on all lines.
wdTightFirstAndLastLinesWraps text tightly only on first and last lines.
wdTightFirstLineOnlyWraps text tightly only on the first line.
wdTightLastLineOnlyWraps text tightly only on the last line.

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.

Show:
© 2014 Microsoft