Skip to content

API reference / Common / Engine types / TextAnchor

Type Alias: TextAnchor ​

ts
type TextAnchor = "top" | "center" | "bottom" | "justify" | "distributed";

Vertical anchoring of a body's content in its frame (ST_TextAnchoringType / w:vAlign).

The superset of both dialects: pptx spells all five, docx spells top/center/bottom plus both, which is Justify.