PDF Splitter
The Documentize PDF Splitter for .NET is a powerful tool that simplifies the process of splitting large PDF documents into smaller, more manageable files. Whether you need to extract individual pages or divide a document into specific sections, this plugin allows you to achieve it efficiently and with minimal effort.
How to Split PDF
To split a PDF document into individual pages, follow these steps:
- Create an instance of
SplitOptions
to configure the splitting options. - Add the input PDF file using the
AddInput
method. - Add output files for each split page using the
AddOutput
method. - Run the
Process
method in theSplitter
class to split the document.
1var splitOptions = new SplitOptions();
2
3// Add the input PDF file
4splitOptions.AddInput(new FileDataSource(@"C:\Samples\input.pdf"));
5
6// Specify output files for each page
7splitOptions.AddOutput(new FileDataSource(@"C:\Samples\output_page_1.pdf"));
8splitOptions.AddOutput(new FileDataSource(@"C:\Samples\output_page_2.pdf"));
9splitOptions.AddOutput(new FileDataSource(@"C:\Samples\output_page_3.pdf"));
10
11// Process the split operation
12Splitter.Process(splitOptions);
Key Features:
- Split PDF by Page: Break down a PDF document into individual pages.
- Batch Processing: Split large batches of PDFs in one go.
- Custom Split Options: Configure the splitting process based on your requirements.
- Organized Output: Easily manage the output files for each split page or section.