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

Scaling of Content

The PDF Export enables you to export a PDF document that is bigger or smaller than its original elements.

The scaling feature is convenient when you generate a multi-page PDF output by using the automatic page-breaking feature. Because the original dimensions usually look too big in PDF, you can specify a suitable scale factor to get a better output for print.

To scale the content when you export files to PDF, use the scale option of the PDF Export component. While the scale setting affects the content, the output paper size and page margins remain the same. However, scaling affects the position of the headers and footers of page templates.

For more information on how to scale the content with the Drawing library, refer to its PDF output documentation.

The following example demonstrates how to set a scale factor of 0.8 and keep an A4 page size and a two-centimeter page margin.

View Source
Change Theme:

In this article

Not finding the help you need?