Image Resolution
The PDF Export component embeds both images and SVG documents as raster images in the exported file.
Limiting the Image Resolution
By default, images are embedded at their original resolution. If the content includes large images, the default behavior might cause performance issues and out-of-memory errors.
To limit the resolution of the images in the output file, set the desired value to imageResolution
in the dots per inch (DPI) unit.
SVG Image Resolution
By default, inline <svg>
documents or <img>
tags loaded from SVGs are exported at a low resolution, using their screen dimensions.
Exporting inline SVGs requires @progress/kendo-drawing v1.10 or later.
To set the resolution of exported SVG images, specify the desired value for imageResolution
in dots per inch. For printing, as a rule of thumb, you can set a resolution of 200 DPI.
Additional Resources
For more information on embedding images, refer to the following articles:
- Known limitations of the Drawing library and the PDF Export component
- Exporting drawings to PDF with the Drawing library
- API Reference of the PDF Export Component
- PDF Options by the Drawing Library