Skip to content

API reference / Common / Engine types / TextFontAlign

Type Alias: TextFontAlign ​

ts
type TextFontAlign = "auto" | "top" | "center" | "baseline" | "bottom";

Where a glyph's font box sits on its line (a:pPr@fontAlgn / w:textAlignment@val) — how runs of different sizes line up against each other.