sempdf
sempdf v1.9.1Interfaces

Interface: ListOptions

sempdf v1.9.1


sempdf / ListOptions

Defined in: src/types.ts:2477

Options for rendering tagged ordered or unordered lists.

Properties

PropertyTypeDescriptionDefined in
align?TextAlignHorizontal alignment for laid-out content.src/types.ts:2501
bullet?stringBullet text used for unordered list items.src/types.ts:2509
characterSpacing?numberAdditional spacing between characters in PDF points.src/types.ts:2495
color?ColorInputColor used for drawing, text, or highlighting.src/types.ts:2493
direction?TextDirectionText direction used for shaping and layout.src/types.ts:2489
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.src/types.ts:2487
font?PdfFontFont used to render text.src/types.ts:2485
fontSize?numberFont size in PDF points.src/types.ts:2491
indent?numberList indentation in PDF points.src/types.ts:2513
itemSpacing?numberVertical spacing between list items in PDF points.src/types.ts:2511
kerning?booleanWhether kerning should be applied where supported.src/types.ts:2503
labelGap?numberGap between list labels and item bodies in PDF points.src/types.ts:2515
lineHeight?numberLine height in PDF points.src/types.ts:2499
ordered?booleanWhether to render the list with ordered labels.src/types.ts:2505
startAt?numberStarting number for ordered output.src/types.ts:2507
widthnumberWidth in PDF points.src/types.ts:2483
wordSpacing?numberAdditional spacing between words in PDF points.src/types.ts:2497
xnumberHorizontal position in PDF points.src/types.ts:2479
ynumberVertical position in PDF points.src/types.ts:2481

On this page