PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
Multple Images from dir to PDF using PDFsharp http://forum.pdfsharp.com/viewtopic.php?f=2&t=3944 |
Page 1 of 1 |
Author: | TH-Soft [ Fri Apr 19, 2019 1:32 pm ] |
Post subject: | Re: Multple Images from dir to PDF using PDFsharp |
Hi! I can see that you dispose the "xgr" after drawing the first image, so the first image is the only one that actually gets drawn. |
Author: | AutoFace [ Fri Apr 19, 2019 3:26 pm ] |
Post subject: | Re: Multple Images from dir to PDF using PDFsharp |
TH-Soft wrote: Hi! I can see that you dispose the "xgr" after drawing the first image, so the first image is the only one that actually gets drawn. Hi, Thanks for getting back to me. I too noticed this but but i thought with it being in a loop that once it gets destroyed it would get recreated during the next loop. Even so, I have tried removing and moving it out of the loop but still I am met with the same result which is a single barcode in a pdf file. Any other ideas? Thanks |
Author: | TH-Soft [ Sun Apr 21, 2019 8:16 am ] |
Post subject: | Re: Multple Images from dir to PDF using PDFsharp |
So maybe now you paint all images stacked at the same location and thus you only see the last image. Change the co-ordinates within the loop. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |