Comments on: Merge PDF files with iText# and .NET http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html Rambling about everything Tue, 03 Aug 2010 08:36:11 -0400 hourly 1 http://wordpress.org/?v=3.0.1 By: Richard http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-8583 Richard Wed, 16 Jun 2010 01:01:08 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-8583 I'm using this code it works perfect, excellent. Thank You. Is simple to implement. I’m using this code it works perfect, excellent. Thank You. Is simple to implement.

]]>
By: Gigiot http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-8312 Gigiot Wed, 21 Apr 2010 08:45:51 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-8312 Hi, i'm using this code. I have 3 file .pdf and one of these have some TextField. After the merge all TextField are disappear, why? Hi, i’m using this code. I have 3 file .pdf and one of these have some TextField.

After the merge all TextField are disappear, why?

]]>
By: Sabrina http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-8003 Sabrina Sat, 13 Mar 2010 19:44:00 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-8003 Hi, Thank you so much for the codes. Am truly grateful ! Works like magic! Best regards Hi,

Thank you so much for the codes. Am truly grateful ! Works like magic!

Best regards

]]>
By: Giuseppe http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-7977 Giuseppe Tue, 09 Mar 2010 08:17:46 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-7977 Hi, I'm working with a split function and I not your code doesn't work with rotation. I suggest to insert this code: if (rotation == 270) { pdfContentByte.AddTemplate(page, 0, 1f, -1f, 0, reader.GetPageSizeWithRotation(i).Width, 0); } else if (rotation == 90) { pdfContentByte.AddTemplate(page, 0, -1f, 1f, 0, 0, reader.GetPageSizeWithRotation(i).Height); } else if(rotation == 180) { pdfContentByte.AddTemplate(page, -1, 0, 0, -1f, reader.GetPageSizeWithRotation(i).Width, reader.GetPageSizeWithRotation(i).Height); } else { pdfContentByte.AddTemplate(page, 1f, 0, 0, 1f, 0, 0); } Thanks Giuseppe Hi, I’m working with a split function and I not your code doesn’t work with rotation. I suggest to insert this code:
if (rotation == 270)
{
pdfContentByte.AddTemplate(page, 0, 1f, -1f, 0, reader.GetPageSizeWithRotation(i).Width, 0);
}
else if (rotation == 90)
{
pdfContentByte.AddTemplate(page, 0, -1f, 1f, 0, 0, reader.GetPageSizeWithRotation(i).Height);
}
else if(rotation == 180)
{
pdfContentByte.AddTemplate(page, -1, 0, 0, -1f, reader.GetPageSizeWithRotation(i).Width, reader.GetPageSizeWithRotation(i).Height);
}
else
{
pdfContentByte.AddTemplate(page, 1f, 0, 0, 1f, 0, 0);
}
Thanks
Giuseppe

]]>
By: Elijah S Holt http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-7628 Elijah S Holt Thu, 21 Jan 2010 23:28:12 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-7628 Thanks for the great code! I just have one little hiccup when I try to run it. I am merging two pdfs that are in landscape orientation. When I open the file that is the product of the merger, it opens in portrait mode. It can be viewed properly by clicking View -> Rotate View -> Clockwise but is there any way to have it written in landscape mode from the beginning? Thanks for the great code! I just have one little hiccup when I try to run it. I am merging two pdfs that are in landscape orientation. When I open the file that is the product of the merger, it opens in portrait mode. It can be viewed properly by clicking View -> Rotate View -> Clockwise but is there any way to have it written in landscape mode from the beginning?

]]>
By: duncan http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-5758 duncan Mon, 01 Jun 2009 13:11:45 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-5758 hi, i`m using this code it works but i had 2 files when i try to join them an exception will be thrown and says owner password i found in the internet to use the itext 2.0.2. Can someone tell me where i can download that dll please thanks hi,
i`m using this code it works but i had 2 files when i try to join them an exception will be thrown and says owner password i found in the internet to use the itext 2.0.2. Can someone tell me where i can download that dll please
thanks

]]>
By: Martin http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-5222 Martin Fri, 27 Mar 2009 14:19:16 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-5222 I am using your code, and i am trying merge two files, but it\'s not working, the sheet size is much larger. Not is letter or A4 !!! i add the next line in your code, document.SetPageSize(PageSize.A4), but not working !!! :( I am using your code, and i am trying merge two files, but it\’s not working, the sheet size is much larger. Not is letter or A4 !!! i add the next line in your code, document.SetPageSize(PageSize.A4), but not working !!!

:(

]]>
By: merge two PDF files in C# | keyongtech http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-4651 merge two PDF files in C# | keyongtech Sun, 18 Jan 2009 17:01:21 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-4651 [...] files in C# Check out ITextSharp library. It\'s free and works with PDF documements. Sample: http://alex.buayacorp.com/merge-pdf-...t-and-net.html George "123456" <123456> wrote in message [...] [...] files in C# Check out ITextSharp library. It\’s free and works with PDF documements. Sample: http://alex.buayacorp.com/merge-pdf-…t-and-net.html George "123456" <123456> wrote in message [...]

]]>
By: steve http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-3312 steve Mon, 21 Jul 2008 14:02:59 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-3312 Hi, again! I\'m using your code and I\'m trying yo merge two equal pdf file s but it\'s not working because it says there are duplicate pages. What should I do if I want one and the same element (page) to repeat several times on a pdf document. Probably it\'s not doing implicit renaming of the form fields? Hi, again!

I\’m using your code and I\’m trying yo merge two equal pdf file s but it\’s not working because it says there are duplicate pages. What should I do if I want one and the same element (page) to repeat several times on a pdf document. Probably it\’s not doing implicit renaming of the form fields?

]]>
By: steve http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html/comment-page-1#comment-3311 steve Mon, 21 Jul 2008 13:57:21 +0000 http://alex.buayacorp.com/merge-pdf-files-with-itext-and-net.html#comment-3311 Hi, I want to ask you if this code with AddTemplate maked PDFs that are readable with not professional Acrobat Reader? I have heard that the normal Acrobat Reader is not supporting templates. Hi,

I want to ask you if this code with AddTemplate maked PDFs that are readable with not professional Acrobat Reader? I have heard that the normal Acrobat Reader is not supporting templates.

]]>