PDFExportProps
Represents the props of the KendoReact PDFExport component.
Name | Type | Default | Description |
---|---|---|---|
author? |
|
The author (metadata) of the PDF document. | |
avoidLinks? |
|
A flag that indicates whether to produce actual hyperlinks in the exported PDF file. It is also possible to set a CSS selector. All matching links will be ignored. | |
creator? |
|
The creator of the PDF document. Defaults to | |
date? |
|
The date when the PDF document is created. Defaults to | |
fileName? |
|
Specifies the name of the exported PDF file. Defaults to | |
forcePageBreak? |
|
An optional CSS selector that specifies the elements which cause the page breaks. | |
forceProxy? |
|
If set to | |
imageResolution? |
|
The forced resolution of the images in the exported PDF document. 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. | |
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. Defaults to | |
margin? |
|
Specifies the margins of the page. The supported units are:
| |
pageTemplate? |
|
A React functional or class component which is used as a template that is inserted into each page of the PDF document. The number of the current page ( | |
paperSize? |
|
Specifies the paper size of the PDF document. Defaults to If set, the content will be split across multiple pages. This enables the The supported values are:
| |
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—for example, Internet Explorer 9 and Safari. It is your responsibility to implement the server-side proxy. In the request body, the proxy receives a
The proxy returns the decoded file with the | |
repeatHeaders? |
|
Specifies if the | |
scale? |
|
A scale factor. The text size on the screen might be too big for printing. To scale down the output in PDF, use this option. Defaults to | |
subject? |
|
The subject (metadata) of the PDF document. | |
title? |
|
The title (metadata) of the PDF document. |