Skip to content

zeropdf v1.3.0


zeropdf / TableOptions

Interface: TableOptions

Defined in: src/types.ts:2047

Options for rendering tagged tables.

Properties

PropertyTypeDescriptionDefined in
align?TextAlignHorizontal alignment for laid-out content.src/types.ts:2081
cellPadding?numberPadding inside table cells in PDF points.src/types.ts:2061
characterSpacing?numberAdditional spacing between characters in PDF points.src/types.ts:2075
color?ColorInputColor used for drawing, text, or highlighting.src/types.ts:2073
columnWidths?readonly number[]Explicit table column widths in PDF points.src/types.ts:2055
direction?TextDirectionText direction used for shaping and layout.src/types.ts:2069
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.src/types.ts:2067
font?PdfFontFont used to render text.src/types.ts:2065
fontSize?numberFont size in PDF points.src/types.ts:2071
headerColumns?numberNumber of leading columns treated as table headers.src/types.ts:2059
headerRows?numberNumber of leading rows treated as table headers.src/types.ts:2057
kerning?booleanWhether kerning should be applied where supported.src/types.ts:2089
lineHeight?numberLine height in PDF points.src/types.ts:2079
rowGap?numberGap between table rows in PDF points.src/types.ts:2063
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.src/types.ts:2091
summary?stringTable summary for accessibility (/Summary attribute on the table structure element). Provides a description of the table for screen readers.src/types.ts:2096
verticalAlign?VerticalAlignVertical alignment of each cell's content within its row height. Applies to cells shorter than the tallest cell in the row. Defaults to "top". Can be overridden per cell via TableCellDefinition.verticalAlign.src/types.ts:2087
widthnumberWidth in PDF points.src/types.ts:2053
wordSpacing?numberAdditional spacing between words in PDF points.src/types.ts:2077
xnumberHorizontal position in PDF points.src/types.ts:2049
ynumberVertical position in PDF points.src/types.ts:2051

Released under the ISC license.