PDFsharp & MigraDoc Foundation http://forum.pdfsharp.de/ |
|
Possible bug when combining pdf files http://forum.pdfsharp.de/viewtopic.php?f=2&t=1566 |
Page 1 of 1 |
Author: | GaryR [ Mon Feb 28, 2011 12:18 am ] |
Post subject: | Possible bug when combining pdf files |
I am looping an array list adding each 1 page pdf file to the first pdf file and it works fine. After I run the following code I get an expected output of: Added C:\My Stuff\File 2.pdf to C:\My Stuff\File 1.pdf Added C:\My Stuff\File 3.pdf to C:\My Stuff\File 1.pdf However what is odd is that when I open File1.pdf, it is 4 pages not 3 and in a wierd order. Page1 is File1 and has a footer of C:\My Stuff\File 1.pdf • 1 Page2 is File3 and has a footer of C:\My Stuff\File 3.pdf • 1 Page3 is File2 and has a footer of C:\My Stuff\File 2.pdf • 2 Page4 is blank and has a footer of C:\My Stuff\File 3.pdf • 2 I was able to reproduce the issue using only the Combine PDF files sample code (Variant1) with no customizing so this might be a bug. Can anyone confirm for me? For Example: Take 3 one page simple PDFfiles (File1.pdf, File2.pdf, File3.pdf). Combine File1.pdf and File2.pdf into a new file named Combined.pdf. Open it and see that it is only 2 pages, just as we expected. No take Combined.pdf and File3.pdf and combine them into a new file named Final.pdf. Open Final.pdf to see that it is 4 pages, not 3 as expected and the pages are out of order. |
Author: | Thomas Hoevel [ Mon Feb 28, 2011 8:13 am ] |
Post subject: | Re: Possible bug when combining pdf files |
Already discussed here: viewtopic.php?p=4340#p4340 |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |