![]() format and size according to requirement. units can be in 'pt', 'cm'įirst we create a document in html which will be print in pdf format, then we set jspdf parameter like orientation. ![]() ![]() default format for pdf is a4.ģ) - unit: - using this parameter we can set unit in case of co-ordinates. some of important format is givenġ) - orientation: - using this parameter we can show any pdf in 'landscape' or 'portrait' mode(shortcut value will be 'p' or 'l').Ģ) - format: - using this parameter we can set specified format of pdf. Jspdf: - This liabrary convert html to pdf format in client side, there are many parameters that can be used for desired format. ![]() the most important liabrary for this purpose is jspdf. If any user want to download any document in pdf format in client side, then javascript provide such liabrary for this work. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |