Share via


MsoVerticalAnchor Enumeration

Office Developer Reference

Specifies the vertical alignment of text in a text frame. Used with the VerticalAnchor property of the TextFrame object.

Name Value Description
msoAnchorBottom 4 Aligns text to bottom of text frame.
msoAnchorBottomBaseLine 5 Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
msoAnchorMiddle 3 Centers text vertically.
msoAnchorTop 1 Aligns text to top of text frame.
msoAnchorTopBaseline 2 Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
msoVerticalAnchorMixed -2 Return value only; indicates a combination of the other states.