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

PDFComponent

Configures the settings for exporting the Scheduler to PDF (see example).

html
<kendo-scheduler >
  <kendo-scheduler-pdf fileName="Scheduler.pdf"> </kendo-scheduler-pdf>
</kendo-scheduler>

Selector

kendo-scheduler-pdf

Inputs

NameTypeDefaultDescription

author

string

The author (metadata) of the PDF document.

string | boolean

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

string

'Kendo UI PDF Generator'

Sets the creator of the PDF document.

date

Date

'new Date()'

Sets the date when the PDF document is created.

fileName

string

Specifies the name of the exported PDF file.

forceProxy

boolean

If set to true, the content is forwarded to proxyURL even if the browser supports local saving of files.

imageResolution

number

Sets the forced resolution of the images in the exported PDF document. By default, the images are exported at their full resolution.

keywords

string

The keywords (metadata) of the PDF document.

margin

string | number | PageMargin

'pt'

Specifies the margins of the page.

producer

string

The producer (metadata) of the PDF document.

proxyData?

{[key: string]: string}

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

string

'_self'

Sets the name or keyword that indicates where to display the document returned from the proxy.

To display the document in a new window or iframe, the proxy has to have the "Content-Disposition" header set to inline; filename="<fileName.pdf>".

proxyURL

string

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. The proxy returns the decoded file with the "Content-Disposition" header set to attachment; filename="<fileName.pdf>".

In the request body, the proxy receives a POST request with the following parameters:

  • "contentType"—The MIME type of the file.
  • "base64"—The base-64 encoded file content.
  • "fileName"—The file name, as requested by the caller.

scale

number

1

Sets the scale factor for the output in PDF. Use this option when the text size on the screen is too big for printing.

subject

string

The subject (metadata) of the PDF document.

title

string

The title (metadata) of the PDF document.

In this article
SelectorInputs
Not finding the help you need?
Contact Support