Skip to content

modern-pdf-lib


modern-pdf-lib / OutlineItemOptions

Interface: OutlineItemOptions

Defined in: src/outline/pdfOutline.ts:66

Options for creating an outline item.

Properties

bold?

optional bold: boolean

Defined in: src/outline/pdfOutline.ts:72

Whether the title text is bold.


color?

optional color: object

Defined in: src/outline/pdfOutline.ts:70

Colour of the outline text as RGB in range 0-1.

b

b: number

g

g: number

r

r: number


isOpen?

optional isOpen: boolean

Defined in: src/outline/pdfOutline.ts:68

Whether the item's children are initially visible. Default: true.


italic?

optional italic: boolean

Defined in: src/outline/pdfOutline.ts:74

Whether the title text is italic.

Released under the MIT License.