DominantBaseline Enum

DominantBaseline enumeration

Specifies the dominant baseline used for aligning text.

public enum DominantBaseline

Values

NameValueDescription
Auto0Automatically determines the dominant baseline based on the font and/or the language.
TextBottom1Aligns the text to the bottom of the em square.
Alphabetic2Aligns the text on the baseline used by alphabetic characters.
Ideographic3Aligns the text on the baseline used by ideographic characters.
Middle4Aligns the text in the middle of the em square.
Central5Aligns the text in the central baseline of the em square.
Mathematical6Aligns the text on the baseline used by mathematical characters.
Hanging7Aligns the text on the hanging baseline, typically used for Tibetan or other Asian scripts.
TextTop8Aligns the text to the top of the em square.

See Also