Unplanned
Last Updated: 23 Mar 2023 11:22 by Alvin
In our app we use the 'object-fit: scale-down; object-position: bottom right' style and apply it to an image in order to keep its ratio and put it as desired. However, applying 'object-fit' and 'object-position' is currently not supported when exporting images with the Drawing library. I would like to have these properties supported in order for the image to be displayed and styled in the exported PDF the same way as it is on the page.
Unplanned
Last Updated: 01 Sep 2020 14:44 by ADMIN
Created by: Gary
Comments: 0
Category: Drawing API
Type: Feature Request
1

Hi Team,

I understand currently page breaking is only accessible for text nodes only.  However, I'd like to request the functionality to overcome this somehow.  This would be great as I request overcoming the truncation limitations.

Thank you!

Unplanned
Last Updated: 23 Jul 2020 12:11 by ADMIN
Created by: Oleksii
Comments: 9
Category: Drawing API
Type: Feature Request
2

Hello.
We currently use
kendo.drawing.drawDOM
kendo.drawing.exportPDF
kendo.saveAs

to export the whole web page to PDF file.

But now there is a new task to create single PDF export file containing several web pages of our application.
I have already found that there is a possibility to create multi-page PDF using "multiPage" parameter


kendo.drawing.exportPDF(root, {
    paperSize: [1070, height],
    multiPage: true,
});

 

Also I found out that it is possible to append new Group to MasterGroup object using "append" method (https://docs.telerik.com/kendo-ui/api/javascript/drawing/group/methods/append)


kendo.drawing.drawDOM(element, {
    scale: 0.65
}).then(function (root) {
    pdfMasterGroup.append(root);
    return kendo.drawing.exportPDF(pdfMasterGroup, {
        paperSize: [1070, height],
        multiPage: true,
    });
});


The problem is I don't know how to save Group object when another web page is loaded. I tried to convert Group object to JSON string using

JSON.stringify(root)


JSON.stringify(root)

But this command fails due to circular structure of object


Uncaught TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'init'
    |     property 'options' -> object with constructor 'init'
    |     property '_observers' -> object with constructor 'Array'
    --- index 0 closes the circle
    at JSON.stringify (<anonymous>)

Have you faced such a problem? Is the a way to populate single PDF with several web/DOM pages?

Unplanned
Last Updated: 02 Jun 2020 08:19 by ADMIN
Created by: Maureen
Comments: 0
Category: Drawing API
Type: Feature Request
1
It will be a very useful feature if the Drawing API has a configuration that will enable/disable the copying of the content in the exported PDF file.
Unplanned
Last Updated: 30 Mar 2020 06:08 by ADMIN

I am using kendo-pdf to generate a PDF. I have a large div with a border which is often greater in height than a single page so it automatically page-breaks (this is good). However, the border for the div is rendered the whole way around it on both pages (see screenshot). I would like to make it so that the top border only shows at the beginning of the div (on the first page) and the bottom border only shows at the bottom of the div (on the second page).

I propose that the following classes (or similar) be added at render time to elements that are automatically broken:

1. .k-pdf-page-broken – Applied to all elements that have been automatically page-broken
2. .k-pdf-page-broken-first – Applied to the first (original) element that was page-broken
3. .k-pdf-page-broken-last – Applied to the last duplicate of the element that was page-broken

Unplanned
Last Updated: 24 Jan 2020 11:07 by ADMIN
Created by: Aldarkhangai
Comments: 0
Category: Drawing API
Type: Feature Request
11

I add a custom header that shows only on the first page of the Kendo UI Grid export to PDF.

This leaves me with a margin on the rest of the pages that is too big. 

It would be great to have configurable pdf options per page.

Unplanned
Last Updated: 30 Oct 2019 14:07 by ADMIN
Created by: Surinder
Comments: 3
Category: Drawing API
Type: Feature Request
6
Dear Telerik,

When we export the grid data to PDF, then there should be a option to password protect resulted PDF file.

Thanks

Regards
Surinder
Unplanned
Last Updated: 25 Jul 2019 12:56 by ADMIN
Created by: Ryan
Comments: 3
Category: Drawing API
Type: Feature Request
2

Hello,

I'm trying to create a table of contents within my formatted PDF that was created using Kendo's drawing API. In doing so, I thought it would be a simple matter of using some <a href> tags to point to the containers of information within the PDF. However, when you click the hyperlink on the formatted PDF, it just sends you to the localhost:8080/#DivIWantToGoToInThePDF. How can I get around this?

Unplanned
Last Updated: 04 Jun 2019 07:33 by ADMIN
Created by: Tanu Priya
Comments: 1
Category: Drawing API
Type: Feature Request
0

Hi Team,

 

We are generating pdf files using kendo.drawing() function and this pdf is having dynamic content. We want to put a table of content page with page numbers at the start of pdf.

We have already tried it using content offset value but its not always 100% correct.

Request you to please add this feature.