Skip to main content

Interface: ListOptions

Options for rendering tagged ordered or unordered lists.

Properties

PropertyTypeDescription
align?TextAlignHorizontal alignment for laid-out content.
bullet?stringBullet text used for unordered list items.
characterSpacing?numberAdditional spacing between characters in PDF points.
color?ColorInputColor used for drawing, text, or highlighting.
direction?TextDirectionText direction used for shaping and layout.
fallbackFonts?PdfFont[]Fallback fonts used when the primary font lacks a glyph.
font?PdfFontFont used to render text.
fontSize?numberFont size in PDF points.
indent?numberList indentation in PDF points.
itemSpacing?numberVertical spacing between list items in PDF points.
kerning?booleanWhether kerning should be applied where supported.
labelGap?numberGap between list labels and item bodies in PDF points.
lineHeight?numberLine height in PDF points.
ordered?booleanWhether to render the list with ordered labels.
startAt?numberStarting number for ordered output.
widthnumberWidth in PDF points.
wordSpacing?numberAdditional spacing between words in PDF points.
xnumberHorizontal position in PDF points.
ynumberVertical position in PDF points.