Skip to content

zeropdf v1.3.0


zeropdf / ListOptions

Interface: ListOptions

Defined in: src/types.ts:1964

Options for rendering tagged ordered or unordered lists.

Properties

PropertyTypeDescriptionDefined in
align?TextAlignHorizontal alignment for laid-out content.src/types.ts:1988
bullet?stringBullet text used for unordered list items.src/types.ts:1996
characterSpacing?numberAdditional spacing between characters in PDF points.src/types.ts:1982
color?ColorInputColor used for drawing, text, or highlighting.src/types.ts:1980
direction?TextDirectionText direction used for shaping and layout.src/types.ts:1976
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.src/types.ts:1974
font?PdfFontFont used to render text.src/types.ts:1972
fontSize?numberFont size in PDF points.src/types.ts:1978
indent?numberList indentation in PDF points.src/types.ts:2000
itemSpacing?numberVertical spacing between list items in PDF points.src/types.ts:1998
kerning?booleanWhether kerning should be applied where supported.src/types.ts:1990
labelGap?numberGap between list labels and item bodies in PDF points.src/types.ts:2002
lineHeight?numberLine height in PDF points.src/types.ts:1986
ordered?booleanWhether to render the list with ordered labels.src/types.ts:1992
startAt?numberStarting number for ordered output.src/types.ts:1994
widthnumberWidth in PDF points.src/types.ts:1970
wordSpacing?numberAdditional spacing between words in PDF points.src/types.ts:1984
xnumberHorizontal position in PDF points.src/types.ts:1966
ynumberVertical position in PDF points.src/types.ts:1968

Released under the ISC license.