Reputation: 1
I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
Upvotes: 0
Views: 639
Reputation: 318
I think if you use the fit_to_page option should work.
printPDF.addImage(this , 0 , 0 , 0 , 0 , 'PNG' , 100 , 1 , ResizeMode.FIT_TO_PAGE);
Upvotes: 0