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

PDF saving with mapping

3 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Katelyn
Top achievements
Rank 1
Katelyn asked on 19 Oct 2020, 07:49 PM
I'm currently trying to use kendo-react-pdf to save a pdf of a component. While using a pdf container does create a pdf with the objects inside, the mapped objects within the container are not included in the pdf. Any thoughts on how to get the mapped components within the PDF container to show up on the pdf that is created?

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 20 Oct 2020, 09:19 AM

Hello, Katelyn,

Could you please share more details on these mapped objects which are missing from the PDF?

Sharing an example, or at least a screenshot of the page and the PDF with the missing element will help us better understand the scenario

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Katelyn
Top achievements
Rank 1
answered on 20 Oct 2020, 01:21 PM
Yes! So I am using a Konva canvas and mapping components (URLImages) to the canvas. The PDFContainer wraps the entire canvas, but whenever I create the pdf, only a blank canvas appears, with none of the URLImages. I have attached images of what is included in the PDFContainer, as well as the URLImage component, which relies on the Konva Image component. Additionally, I attach a photo of what the canvas should look like, after images are on the canvas on the webapp. However, when I create the pdf, as you can see, it is blank and none of the images show up.
0
Stefan
Telerik team
answered on 21 Oct 2020, 09:51 AM

Hello, Katelyn,

Thank you for the additional details.

I can suggest checking the PDF export limitations list to see if one of them is not affecting the results:

https://www.telerik.com/kendo-react-ui/components/drawing/limitations-browser-support/

There are limitations connected to images and SVG exports.

Regards,
Stefan
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).

Tags
General Discussions
Asked by
Katelyn
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Katelyn
Top achievements
Rank 1
Share this question
or