Table of Contents

Enum Baseline

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

The Baseline enumeration contains values that specify the baseline for text alignment.

public enum Baseline

Fields

Central = 2

Central baseline, which is generally used for vertical text.

Default = 0

The Roman baseline for horizontal; the Central baseline for vertical.

Hanging = 4

Hanging baseline, which is used in scripts like Devanagari.

IdeographicBottom = 5

Ideographic bottom baseline for CJK, left in vertical.

IdeographicTop = 6

Ideographic top baseline for CJK, right in vertical.

Math = 3

Mathematical baseline, which math characters are centered on.

Maximum = 8

The top-most extent in horizontal, right-most in vertical.

Minimum = 7

The bottom-most extent in horizontal, left-most in vertical.

Roman = 1

The baseline that is used by alphabetic scripts such as Latin, Greek, and Cyrillic.