Examples

How to Split PDF pages

Splitting a PDF with DynamicPDF Merger is a simple and straightforward task. Below are the steps and sample code for this.

Steps to Split a PDF

  1. Create a pdfToSplit object and Load first PDF file.
  2. Loop through the pages and save each individual page separately.
  3. Output the Document to the Browser.

Sample code - ASP

Dim pdfToSplit
Set pdfToSplit = Server.CreateObject("DynamicPdf.PdfDocument")
pdfToSplit.LoadPdf Server.MapPath("DocumentA.pdf")

Dim i
For i = 1 To pdfToSplit.PageCount
Dim MyDocument
Set MyDocument = Server.CreateObject("DynamicPDF.Document")
MyDocument.LoadPdf pdfToSplit,i,1
MyDocument.DrawToFile("C:\Pdf_" & i & ".pdf")
Next

Getting Started

DynamicPDF Merger Information

More information can be found here:

Available in Other Platforms

DynamicPDF Merger PDF Library is available for .NET and Java platforms. Refer to the respective product pages for more details.

Why Choose DynamicPDF?

  • Transparent Pricing
  • Lots of Features
  • Easy to Use
  • Great Support
  • Efficient Performance
  • Product Maturity (Over 18 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

We’re Not The Only Ones That Think We’re Great!