wnabil / ngx-export-as

Angular 2+ / Ionic 2+ HTML/table element to export it as JSON, XML, PNG, CSV, TXT, MS-Word, Ms-Excel, PDF
MIT License
68 stars 40 forks source link

PDF Scaling #73

Closed clintcfavor closed 4 years ago

clintcfavor commented 4 years ago

Hi, is there a way that we can scale the contents before being generated in the pdf? Say to fit long documents in a landscaped PDF page instead of cutting/clipping it on the next page?

wnabil commented 4 years ago

Use pdfjs without this library, this package converts the html to an image then add it to the pdf so sadly this feature is not handled