I want to export my html page as password protected pdf using javascript.
I have a JS code for export html as pdf using kendo pdf,but i want to export html page as encrypted pdf using JS
function Exportnote(){
var invno = "<?php echo $key->invoice_id.'-'.$key->invoice_series; ?>";
kendo.drawing
.drawDOM("#notefile",
{
paperSize: "A4",
margin: { top: "1cm",left: "1cm", right: "1cm"},
scale: 0.8,
height: 500
})
.then(function(group){
kendo.drawing.pdf.saveAs(group, "Notefile_"+invno+'.pdf')
});
}
My question is "I can create a PDF with Kendo, but how do I password protect it?"
您无法使用Kendo PDF Export在PDF上设置密码
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.