简体   繁体   中英

How to generate PDF using HTML5 and JavaScript

I have a project in HTML5, I have used canvas in it. I want to export the content of the canvas to a PDF file.

Can anyone suggest how can I do that using either JavaScript or jQuery or any other JavaScript library?

试试这个: http//jspdf.com/这是一个HTML5 JavaScript 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM