ExportOptions.pdf
configurationParameters for the exported PDF file as kendo.drawing.PDFOptions.
exportOptions.pdf
ObjectexportOptions.pdf.autoPrint
BooleanSpecifies if the Print dialog should be opened immediately after loading the document.
Note: Some PDF Readers/Viewers will not allow opening the Print Preview by default, it might be necessary to configure the corresponding add-on or application.
Default: false
The creator of the PDF document.
Default: "Kendo UI PDF Generator"
The date when the PDF document is created. Defaults to new Date().
exportOptions.pdf.imgDPI
NumberThe forced resolution (in dpi) of the images in the exported PDF document. By default, the images are exported at their full resolution.
Specifies the quality of the images within the exported file, from 0 to 1.
Default: 0.92
exportOptions.pdf.keepPNG
BooleanIf set to true all PNG images contained in the exported file will be kept in PNG format.
Default: false
Specifies the keywords of the exported PDF file.
Default: null
exportOptions.pdf.landscape
BooleanSet to true to reverse the paper dimensions if needed such that width is the larger edge.
Default: false
exportOptions.pdf.margin
ObjectSpecifies the margins of the page (numbers or strings with units). Supported units are "mm", "cm", "in" and "pt" (default).
exportOptions.pdf.paperSize
String|ArraySpecifies the paper size of the PDF document. The default "auto" means paper size is determined by content.
The size of the content in pixels will match the size of the output in points (1 pixel = 1/72 inch).
Supported values:
- 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. Supported units are "mm", "cm", "in" and "pt".
Default: "auto"
Sets the subject of the PDF file.
Default: null
exportOptions.pdf.title
StringSets the title of the PDF file.
Default: null