New to Kendo UI for Vue? Start a free 30-day trial

PDFOptions

The PDF generation options.

NameTypeDefaultDescription

author?

string

The author (metadata) of the PDF document.

autoPrint?

boolean

false

Specifies if the Print dialog should be opened immediately after loading the document.

creator?

string

'Kendo UI PDF Generator'

The creator (metadata) of the PDF document.

date?

Date

The date when the PDF document is created. Defaults to new Date().

imgDPI?

number

The forced resolution of images, including SVGs, in the exported PDF document By default, the images are exported at their native resolution.

keywords?

string

The keywords (metadata) of the PDF document.

landscape?

boolean

false

A flag which indicates if the page will be in a landscape orientation. By default, the page is in a portrait orientation.

margin?

string | number | PageMargin

'pt'

Specifies the margins of the page (see example). The supported units are "mm", "cm","in", and "pt". Numbers are treated as points ("pt").

multiPage?

boolean

A flag indicating whether to export the child groups as separate pages.

paperSize?

PaperSize

'auto'

Specifies the paper size of the PDF document (see example). The default "auto" setting means the paper size is determined by the content. The size of the content in pixels matches the size of the output in points (1 pixel = 1/72 inch).

The supported values are:

  • A predefined size. The supported paper sizes are: A0-A10, B0-B10, C0-C10, Executive, Folio, Legal, Letter, Tabloid.
  • An array of two numbers specifying the width and height in points (1pt = 1/72in).
  • An array of two strings specifying the width and height in units. The supported units are "mm", "cm", "in", and "pt".

producer?

string

The producer (metadata) of the PDF document.

subject?

string

The subject (metadata) of the PDF document.

title?

string

The title (metadata) of the PDF document.