This documentation is archived and is not being maintained.

MsoVerticalAnchor Enumeration

Specifies the vertical alignment of text in a text frame.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum MsoVerticalAnchor

Member nameDescription
msoVerticalAnchorMixedReturn value only; indicates a combination of the other states.
msoAnchorTopAligns text to top of text frame.
msoAnchorTopBaselineAnchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
msoAnchorMiddleCenters text vertically.
msoAnchorBottomAligns text to bottom of text frame.
msoAnchorBottomBaseLineAnchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.

Used with the VerticalAnchor property of the TextFrame object.

Show: