MsoVerticalAnchor Enumeration
Specifies the vertical alignment of text in a text frame.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Public Enumeration MsoVerticalAnchor
'Usage
Dim instance As MsoVerticalAnchor
public enum MsoVerticalAnchor
Members
Member name | Description | |
---|---|---|
msoVerticalAnchorMixed | Return value only; indicates a combination of the other states. | |
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. | |
msoAnchorMiddle | Centers text vertically. | |
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. |
Remarks
Used with the VerticalAnchor property of the TextFrame object.