Examples

How to Split PDF Pages

Splitting a PDF with DynamicPDF Merger is a straightforward task. The following steps and sample code illustrate.

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("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 22 Years)
  • Free Evaluation
  • .NET Core Support (Most Products)
  • Flexible Licensing

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