CellTextOptions

Overview

CellTextOptions is a interface in Aspose.PDF FOSS for TypeScript.

Per-cell/row text + visual style; each field falls back through the cascade (cell ??

Properties: align, background, border, color, font, fontSize, and 6 more.

Properties

NameTypeAccessDescription
font: AuthoringFontReadGets the font.
fontSize: numberReadGets the font size.
leading: numberReadGets the leading.
color: [number, number, number]ReadGets the color.
align: 'left' | 'center' | 'right'ReadGets the align.
valign: 'top' | 'center' | 'bottom'ReadGets the valign.
border: BorderInfoReadGets the border.
background: [number, number, number]ReadGets the background.
underline: DecorationReadRule below the baseline of the cell’s text.
strikethrough: DecorationReadRule through the cell’s text.
textBackground: BackgroundReadFill behind the cell’s text (text-tight, per line).
padding: PaddingReadInner padding, scalar or per side.