How can I remove some pages from an input PDF file?

Using VeryPDFToobox, you can easily remove any specified pages from an input PDF. Just view the following example to see how to do:
The example shows how to remove P13 from the input file:
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  -merge A1-12 A14-end -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: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
How can I remove some pages from an input PDF file?, 10.0 out of 10 based on 1 rating

Related Posts

Leave a 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!