Splitter Plugin for Aspose.PDF


The Aspose.PDF Splitter Plugin for .NET allows you to divide PDF documents into smaller files by page, range, or according to custom logic. It’s ideal for workflows that require splitting large reports, distributing sections, or processing PDFs in bulk for archiving or review.

Latest Articles

Aspose.PDF Splitter Plugin Key Features

  1. Split PDF by Page Separate each page of a PDF into its own document or extract specific pages/ranges as new files.

  2. Bulk PDF Splitting Process multiple documents or large PDFs efficiently in a single operation.

  3. Custom Output Naming & Logic Control how output files are named and organize splits programmatically for workflow integration.


Getting Started with Aspose.PDF Splitter Plugin

  1. Install Aspose.PDF for .NET Add Aspose.PDF to your solution via NuGet or assemblies.

  2. Configure Your License Apply your license keys for full plugin functionality.

  3. Set Up Split Options Use the Splitter and SplitOptions classes to specify the source PDF and output targets.

  4. Run the Split Operation Execute the split and manage results as required.


Example: Split a PDF into Multiple Files in C#

using Aspose.Pdf.Plugins;

// Input/output paths
var inputPath = @"C:\Samples\sample.pdf";
var outputPath1 = @"C:\Samples\split_page1.pdf";
var outputPath2 = @"C:\Samples\split_page2.pdf";

// Set up split options
var options = new SplitOptions();
options.AddInput(new FileDataSource(inputPath));
options.AddOutput(new FileDataSource(outputPath1));
options.AddOutput(new FileDataSource(outputPath2));

// Create the Splitter and process
var splitter = new Splitter();
splitter.Process(options);
Console.WriteLine("Split completed: " + outputPath1 + ", " + outputPath2);

Use Cases & Extensions

  • Per-Page Export: Generate a file for every page (iterate and add outputs programmatically).
  • Range Extraction: For advanced use, set up options to extract custom page ranges as separate files.
  • Bulk Operations: Integrate into automation scripts for archiving, review, or downstream processing.

For full details on range support and output customization, refer to the API Reference.


Best Practices

  • Always backup originals before splitting.
  • Use meaningful file names for easy retrieval.
  • Validate the number and order of output files, especially in batch jobs.

Related Resources:


 English