Edit

Share via


MsoVerticalAnchor Enum

Definition

Specifies the vertical alignment of text in a text frame.

public enum class MsoVerticalAnchor
public enum MsoVerticalAnchor
type MsoVerticalAnchor = 
Public Enum MsoVerticalAnchor
Inheritance
MsoVerticalAnchor

Fields

Name Value Description
msoVerticalAnchorMixed -2

Return value only; indicates a combination of the other states.

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.

msoAnchorMiddle 3

Centers text vertically.

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.

Remarks

Used with the VerticalAnchor property of the TextFrame object.

Applies to