![]() Use the orientation option to set the paper orientation of the PDF. Some of the useful methods of jsPDF class are given below that are commonly used to export HTML to PDF using jQuery. The jsPDF library provides various methods and options to configure the PDF creation. WindowWidth: 650 //window width in CSS pixels Width: 170, //target width in the PDF document var elementHTML = document.querySelector( "#contnet") Source HTMLElement or a string containing HTML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |