Table of Contents

Enum TextPlaceholderAlignment

Namespace
SixLabors.Fonts
Assembly
SixLabors.Fonts.dll

Specifies how an inline placeholder is aligned against surrounding text.

public enum TextPlaceholderAlignment

Fields

AboveBaseline = 1

Align the placeholder above the surrounding text baseline.

Baseline = 0

Align the placeholder baseline with the surrounding text baseline.

BelowBaseline = 2

Align the placeholder below the surrounding text baseline.

Bottom = 4

Align the placeholder with the bottom of the surrounding line box.

Middle = 5

Align the placeholder with the middle of the surrounding line box.

Top = 3

Align the placeholder with the top of the surrounding line box.