This is a migrated thread and some comments may be shown as answers.

PDF Export with many pages(scrolled div with long height) and paperSize with "A4"

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yilang
Top achievements
Rank 1
Yilang asked on 10 Jan 2017, 08:44 AM
PDF Export can export div's content in one page in this example. When I have many content with very long height, how can I exoprt pdf's document with pages! And then, when I set  paperSize with "A4", it can only export the first page. How to solve my problem. Another Question, how to set the pdf's header and footer in document.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 Jan 2017, 08:56 AM

Hi Yilang,

The following section of the documentation explains how you can insert HTML elements and use them as page breaks in the PDF export: http://docs.telerik.com/kendo-ui/framework/drawing/drawing-dom#configuration-Multi-Page (see the forcePageBreak  property).

A bit down in the same article, the following section explains how you can add headers and footers: http://docs.telerik.com/kendo-ui/framework/drawing/drawing-dom#configuration-Template:.

Regards,

Marin Bratanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Yilang
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or