angularjs-pdf icon indicating copy to clipboard operation
angularjs-pdf copied to clipboard

resize of canvas not working, width and height styles will be overwritten by angular-pdf code

Open kalebakula opened this issue 8 years ago • 1 comments

Need a solution to resize the canvas so that we can avoid vertical scroll bar. We are applying custom styles dynamically after pdf loads(in on load event). But width and height styles are getting overwritten by angular-pdf code

Please comment on this

kalebakula avatar Nov 16 '17 05:11 kalebakula

Hi @kalebakula, Have you tried using scale attribute in the directive? You need to apply custom styles and then load pdf, so scale attribute can work in your final layout.

dennybiasiolli avatar Nov 16 '17 07:11 dennybiasiolli