New to KendoReact? Start a free 30-day trial

exportPDF

Exports a group of drawing elements as a PDF file (see example). In the exported file, the group is positioned at [0, 0]. Its dimensions are used as the default dimensions for the image.

Scene images have to be of same origin or CORS-enabled.

The export operation is asynchronous and returns a promise.

Example
View Source
Edit In Stackblitz  
Change Theme:

Parameters

group

Group

The Group to export.

options?

PDFOptions

The PDF Export options.

Returns

Promise<string>

  • A promise that will be resolved with a PDF file encoded as a Data URI.

In this article

Not finding the help you need?