WdTextboxTightWrap Enum

Definition

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

public enum class WdTextboxTightWrap
[System.Runtime.InteropServices.Guid("D05EB81F-37A2-3F3E-AE25-A672C0D2D502")]
public enum WdTextboxTightWrap
type WdTextboxTightWrap = 
Public Enum WdTextboxTightWrap
Inheritance
WdTextboxTightWrap
Attributes

Fields

Name Value Description
wdTightNone 0

Does not wrap text tightly around the contents of a text box.

wdTightAll 1

Wraps text around the text box tightly to the contents of the text box on all lines.

wdTightFirstAndLastLines 2

Wraps text tightly only on first and last lines.

wdTightFirstLineOnly 3

Wraps text tightly only on the first line.

wdTightLastLineOnly 4

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.

Applies to