PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Loop Bitmaps and create a new pdf page per Bitmap https://forum.pdfsharp.net/viewtopic.php?f=2&t=2424 |
Page 1 of 1 |
Author: | erikkl2000 [ Sun May 05, 2013 12:11 am ] |
Post subject: | Loop Bitmaps and create a new pdf page per Bitmap |
Hi, Right now I'm sending Bitmaps from the server as .png and I would like to loop a list of Bitmaps and create a new PDF page for each bitmap. And that is it, just send to the client. What is the easiest way to do this. Just draw one bitmap per pdf page, when all the bitmaps in the list are written to the pdf pages, close up, and send to client.? Thank you guys so much for this wonderful work! |
Author: | Thomas Hoevel [ Mon May 06, 2013 7:59 am ] |
Post subject: | Re: Loop Bitmaps and create a new pdf page per Bitmap |
Hi! Yep, that's about it. I'd use a fixed page size (e.g. DIN A4) and draw the images as large as possible while maintaining the aspect ratio. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |