Hi,
if you take your example : https://docs.telerik.com/kendo-ui/knowledge-base/drawing-draw-signature-and-export-svg
and that we change the type of surface to "canvas" (var surface = draw.Surface.create($("#surface"),{type : "canvas"});)
the "clear" button doesn't work.
Regards
I need to capture a multi page form in pdf format and then save it to the server with the record and not to the client. This is the code I wrote that send it to the client, how can I modify it to send it to the server instead
root.options.set("pdf", {
multiPage: 'true'
});
$('#formContainer .appPage').each(function (section) {
kendo.drawing.drawDOM(this).then(function (group) {
group.options.set("pdf", {
margin: {
left: "1cm",
right: "1cm",
top: "1cm",
bottom: "1cm"
}
});
root.append(group);
});
});
kendo.drawing.pdf.saveAs(root, "App.pdf");
Seems Kendo is still not able to export image/PDF with the background. Any idea about this?
Dojo is here: http://dojo.telerik.com/@jcbowyer/exuZi
Hello,
the following example renders a wrapped chart label using the drawing API:
https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/categoryaxis.labels#categoryaxislabelsvisual
Now, if you take this example (https://dojo.telerik.com/ERuyOquh),you can see that the texts are right-aligned. Is it possible to align these centered?
Kind regards.
W
We are using drawDOM and exportPDF to generate pdf file for our ASP.net MVC page. However the Ordered list (OL tag) are not rendered correctly on the pdf, the number seems to skip (example 1,3,5 ... instead of 1,2,3,4,5) and also we noted that the alphabet/roman numbering are also not supported. This only happens when we are using Internet Explorer ver 11 and Edge ver 44.18362.449.0. Are there any work arounds or fixes for this issue? Your help is greatly appreciated.
kendo.drawing.drawDOM($(elementID))
.then(function (group) {
return kendo.drawing.exportPDF(group);
})
Hi,
I using Kendo Jquery to export .pdf a content of div have fomat as bellow :
<div class ="row" id="exportpdf">
<div class="col-6">
<div id="grid1"></div>
</div>
<div class="col-6">
<div id="grid2"></div>
</div>
</div>
picture in attachment file.
How do export with this layout to .pdf.
Many thanks !
I
watched a demo on using Kendo UI for PDF export at http://www.telerik.com/campaigns/kendo-ui/devchat-jul18
The demo
showed very good rendering of the page contents and then of a grid (using the
toolbar item). Alas, they did not show a
combined export where a page contains many elements including a grid.
I am aware of the pageTemplate, but we need to export the page header, text, selections of drop lists, etc. along all rows in the grid. We do this now with another tool that has very good fidelity but poor performance, especially on Azure where we were required to create a separate service for it (see attached).
We also use Telerik Reporting, so I know you have a great PDF engine. My question is, is there a solution to rendering the page HTML and all of the grid?
Best,
Scott
I'm having a similar issue as reported here: https://www.telerik.com/forums/drawdom-with-cloned-chart-fails#ko3KfThygUiX9Q22tdM4ZQ
I'm trying to export a chart to a pdf document that also includes some text and a grid. In my case the chart is a bubble chart. When I export I am only getting one bubble to display on the chart in the pdf even though the rest of the bubbles are displayed on the screen. If I add a setTimeout(function() {// code to finish exporting},5000); to my code I can get it to work but I don't like the idea of relying on setTimeout. I tried using the "render" event but that also only gave me one bubble in the final printout. When I tried the dataBound event it never fired. How do I fix this?