Skip to content

zeropdf v1.5.5


zeropdf / TableOptions

Interface: TableOptions

Defined in: src/types.ts:2072

Options for rendering tagged tables.

Properties

PropertyTypeDescriptionDefined in
align?TextAlignHorizontal alignment for laid-out content.src/types.ts:2106
cellPadding?numberPadding inside table cells in PDF points.src/types.ts:2086
characterSpacing?numberAdditional spacing between characters in PDF points.src/types.ts:2100
color?ColorInputColor used for drawing, text, or highlighting.src/types.ts:2098
columnWidths?readonly number[]Explicit table column widths in PDF points.src/types.ts:2080
direction?TextDirectionText direction used for shaping and layout.src/types.ts:2094
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.src/types.ts:2092
font?PdfFontFont used to render text.src/types.ts:2090
fontSize?numberFont size in PDF points.src/types.ts:2096
headerColumns?numberNumber of leading columns treated as table headers.src/types.ts:2084
headerRows?numberNumber of leading rows treated as table headers.src/types.ts:2082
kerning?booleanWhether kerning should be applied where supported.src/types.ts:2114
lineHeight?numberLine height in PDF points.src/types.ts:2104
rowGap?numberGap between table rows in PDF points.src/types.ts:2088
structure?PdfStructureOptionsAdditional structure metadata for tagged PDF output.src/types.ts:2116
summary?stringTable summary for accessibility (/Summary attribute on the table structure element). Provides a description of the table for screen readers.src/types.ts:2121
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:2112
widthnumberWidth in PDF points.src/types.ts:2078
wordSpacing?numberAdditional spacing between words in PDF points.src/types.ts:2102
xnumberHorizontal position in PDF points.src/types.ts:2074
ynumberVertical position in PDF points.src/types.ts:2076

Released under the ISC license.