Skip to content

API reference / Common / Engine types / GridHorizontalAlignment

Type Alias: GridHorizontalAlignment ​

ts
type GridHorizontalAlignment = 
  | "general"
  | "left"
  | "center"
  | "right"
  | "fill"
  | "justify"
  | "centerContinuous"
  | "distributed";

Where a cell's text sits across — styleSheet/cellXfs/xf/alignment/@horizontal (ST_HorizontalAlignment, §18.18.40).