pdf.keepPNGBoolean(default: false)

If set to true all PNG images contained in the exported file will be kept in PNG format.

Example - preserve PNG format in PDF export

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  toolbar: ["pdf"],
  pdf: {
    keepPNG: true,
    fileName: "Products.pdf"
  }
});
</script>
In this article
pdf.keepPNG
Not finding the help you need?
Contact Support