New to Kendo UI for AngularStart a free 30-day trial

Configures the PDF export settings of the Spreadsheet.

Definition

Package:@progress/kendo-angular-spreadsheet

Properties

fileName?

string

Sets the name of the exported PDF file.

Default:

'Workbook.pdf'

fitWidth?

boolean

Scales the content to fit page width.

Default:

false

landscape?

boolean

If false, sets the page orientation to portrait. The default page orientation is landscape.

Default:

true

margin?

string | number | PDFMargin

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

Default:

'1cm'

Sets the paper size for the PDF document. The value can be a SpreadsheetPaperSize or an array of two numbers (width and height in points).

Default:

'A4'

scale?

number

Sets a scale factor for the PDF output. Use this to make the PDF content smaller or larger.

Default:

1

title?

string

Sets the title metadata for the PDF document. If not set, the title is the same as the file name.