MsoVerticalAnchor Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.