Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NewDocOptions

Index

Properties

Optional author

author: string

The author of the new document

Optional pageSize

pageSize: { height: number; width: number }

The size of the new document, default height is 842, default width is 595

Type declaration

  • height: number
  • width: number

render

render: boolean

Whether to render the document when it has been loaded.

Optional title

title: string

The title of the new document, default value is "untitled.pdf"