html-to-pdf-client-side
Reactive icon

Html To Pdf Client Side

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 9 Jan
 by 
0.0
 (0 ratings)
html-to-pdf-client-side

Html To Pdf Client Side

Documentation
1.0.0

Options 

 

 

 

  • Install the demo to understand how it works.
  • HtmlToPdf: Convert any HTML content to PDF on the client side, quickly and easily. 
    • Html: Html content to convert in pdf
    • Filename: Filename without extension pdf. 
    • Options: Defines the specified properties, see Options below for more details, use as below and configure as desired, if you do not need to use them, leave the parameter empty. 


{
  margin:       1,
  image:        { type: 'jpeg', quality: 0.98 },
  html2canvas:  { scale: 2 },
  jsPDF:        { unit: 'in', format: 'letter', orientation: 'portrait' }
};