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

2 posts, 0 answers
  1. Yilang
    Yilang avatar
    22 posts
    Member since:
    Jan 2016

    Posted 10 Jan Link to this post

    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.

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3892 posts

    Posted 12 Jan Link to this post

    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.
Back to Top