How can I split a multi-page PDF file into single-page PDF files?

You can split a multi-page PDF file into several single-page PDF files at a time by using VeryPDFToobox. The sample codes show how to split.
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(strExePath + @"\html2pdf.pdf -split -outfile pg_4202794.pdf");
            Console.WriteLine(strReturn);
            Console.WriteLine("Please enter any key to continue...");
            Console.ReadKey();
        }
    }
}

Lear more about VeryPDF PDF Toolbox Component for .NET.

Related Posts

2 Replies to “How can I split a multi-page PDF file into single-page PDF files?

Comments are closed.