PDFComponent
Configures the settings for the export of TreeList in PDF (see example).
Selector
kendo-treelist-pdf
Inputs
Name | Type | Default | Description |
---|---|---|---|
allPages |
|
Exports all TreeList pages, starting from the first one. | |
author |
|
The author (metadata) of the PDF document. | |
autoPrint? |
|
|
Specifies if the Print dialog should be opened immediately after loading the document (see example).
Requires |
avoidLinks |
|
A flag that indicates whether to produce actual hyperlinks in the exported PDF file (see example). It is also possible to set a CSS selector. All matching links will be ignored. | |
creator |
|
|
The creator of the PDF document. |
date |
|
The date when the PDF document is created. Defaults to | |
fileName |
|
|
Specifies the name of the exported PDF file. |
forcePageBreak |
|
An optional CSS selector that specifies the elements which cause the page breaks (see example). | |
forceProxy |
|
If set to | |
imageResolution |
|
The forced resolution of the images in the exported PDF document (see example). By default, the images are exported at their full resolution. | |
keepTogether |
|
An optional CSS selector that specifies the elements which should not be split across the pages (see example). | |
keywords |
|
The keywords (metadata) of the PDF document. | |
landscape |
|
|
A flag that indicates if the page will be in a landscape orientation. By default, the page is in a portrait orientation. |
margin |
|
Specifies the margins of the page. Numbers are treated as points ( | |
paperSize |
|
|
Specifies the paper size of the PDF document (see example).
Defaults to The paper size can be a |
producer |
|
The producer (metadata) of the PDF document. | |
proxyData? |
|
A key/value dictionary of form values which will be sent to the proxy. Can be used to submit Anti-Forgery tokens and other metadata. | |
proxyTarget |
|
|
A name or keyword which indicates where to display the document that is returned from the proxy.
To display the document in a new window or iframe,
the proxy has to have the |
proxyURL |
|
The URL of the server-side proxy which streams the file to the end user. You need to use a proxy if
the browser is not capable of saving files locally.
It is your responsibility to implement the server-side proxy. The proxy returns the decoded file with
the In the request body, the proxy receives a POST request with the specific parameters. See example. | |
repeatHeaders |
|
Specifies if the | |
scale |
|
|
A scale factor (see example). The text size on the screen might be too big for printing. To scale down the output in PDF, use this option. |
subject |
|
The subject (metadata) of the PDF document. | |
title |
|
The title (metadata) of the PDF document. |
Methods
export | ||||
---|---|---|---|---|
Exports the content as a | ||||
|
saveAs | ||||||
---|---|---|---|---|---|---|
Saves the content as a PDF file with the specified name. | ||||||
|