The sample below demonstrates a way to merge multiple PDF files into one PDF. The recommended tool is VeryPDFToobox(Please click to free download it).
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Call_PDFToolBoxCom
{
class Program
{
static void Main(string[] args)
{
string strExePath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
PDFToolBoxCom.PDFToolBoxCom p = new PDFToolBoxCom.PDFToolBoxCom();
string strReturn = p.RunCMD(@"A=" + strExePath + @"\in1.pdf B="+ strExePath + @"\in2.pdf -merge A B -outfile "+ strExePath + @"\out1.pdf");
Console.WriteLine(strReturn);
Console.WriteLine("Please enter any key to continue...");
Console.ReadKey();
}
}
}
______________________
Lear more: VeryPDF PDF Toolbox Component for .NET.
Hi,
I am after ActiveX Control (OCX/dll), to convert multi pages PDF file into single individual PDF files, and also PDF to txt file. Which one of your package do I need?
Regards,
David
Hi,
Maybe you can use software PDF Split-Merge:
http://www.verypdf.com/app/pdf-split-merge/index.html
And PDF to Text OCR Converter Command Line
http://www.verypdf.com/app/pdf-to-text-ocr-converter/index.html
If you buy two, we can give you some discount.
Best wishes for you.
VeryPDF