New to Kendo UI for Angular? Start a free 30-day trial

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.

Example
View Source
Change Theme:

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.

Example
View Source
Change Theme:

Additional Resources

For more information on embedding images, refer to the following articles: