Share via


MsoVerticalAnchor Enumeration 

Specifies the vertical alignment of text in a text frame.

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

Usage

Dim msoVerticalAnchor1 As MsoVerticalAnchor = MsoVerticalAnchor.msoAnchorBottom

Syntax

Public Enum MsoVerticalAnchor
public enum MsoVerticalAnchor
public enum class MsoVerticalAnchor
public enum MsoVerticalAnchor
public enum MsoVerticalAnchor

Members

Member name Description
msoAnchorBottom Aligns text to bottom of text frame.
msoAnchorBottomBaseLine 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 Centers text vertically.
msoAnchorTop Aligns text to top of text frame.
msoAnchorTopBaseline 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 Return value only; indicates a combination of the other states.

Remarks

Used with the VerticalAnchor property of the TextFrame object.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace