How can I merge PDF files into a new PDF?

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.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in VeryPDF SDK & COM and tagged , , , , , , , , , . Bookmark the permalink.

2 Responses to How can I merge PDF files into a new PDF?

  1. David says:

    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

    VA:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.20_1166]
    Rating: 0 (from 0 votes)
  2. amerilia says:

    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

    VN:F [1.9.20_1166]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.20_1166]
    Rating: 0 (from 0 votes)

Leave a Reply to David Cancel reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!