Merge PDF files with iTextDotNet and .NET
In the previous post I showed a class to merge PDF files using iText#, but it seems that there’s a better approach using iTextDotNet:
csharp:
using com.lowagie.tools;
class Program
{
static void Main(string[] args)
{
string[] lista = new string[] { "Meijer.pdf", "P330.pdf", "result.pdf" };
concat_pdf.main(lista);
}
}
class Program
{
static void Main(string[] args)
{
string[] lista = new string[] { "Meijer.pdf", "P330.pdf", "result.pdf" };
concat_pdf.main(lista);
}
}
As you can see this is a cleaner and simpler way to merge pdf files. You can download the iTextDotNet .NET Library from this blog or the official Website.
2 Responses to “Merge PDF files with iTextDotNet and .NET”
April 4th, 2008 at 4:41 am
Hello,
Thank for this post, but :
where do you find com.lowagie.tools ?
Is it a part of the textsharp lib ?
I didn’t find.
Thanks.
Arth’
April 4th, 2008 at 8:14 am
It is part of iTextDotNet
Leave a Reply