Выберите язык
  1. Продукты
  2. Aspose.PDF
  3. Organizer for .NET
clearbit icon

Организатор для .NET

The Organize tool allows you to change the order of pages in the document as you need. In addition to the flexible page reorganization mechanism, you can also delete unnecessary pages.

Buy for $99
Share
Логотип Instagram Логотип Dribbble Логотип Twitter Логотип YouTube

Features:

1. Reads data from various sources, including file path and file streams.

2. Supports combinations of the file path and file streams in input and output.

3. Contains two types of operations (Split, Merge).

4. Can merge two or more PDF files.

5. Can split PDF file into two or more pages of the same file format.

Organize PDF document via .NET library

The Organize application allows you to change the order of pages in the PDF document as you need. In addition to the flexible page reorganization mechanism, you can also delete unnecessary pages. To perform these functions, you must specify page numbers or intervals for regrouping. This convert tool works for all platforms: Windows, Linux, macOS, and Android. No desktop software installation is required. It's powerful, modern, fast, flexible, easy to use, and completely free.

Try code snippet below:

Try code snippets below:

1. Merge

To run merge options in several lines of code, create New PDF Organizer, add new Organizer Merge Options, add input Data Source, add output Data Source and the ran Organizer processing.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
var inputPath1 = dataDir + "sample.pdf";
var inputPath2 = dataDir + "sample.pdf";
var inputPath3 = dataDir + "sample.pdf";
var outputPath = dataDir + "MergeResult.pdf";
var organizer = new PdfOrganizer();
var opt = new PdfOrganizerMergeOptions();
opt.AddDataSource(new FileDataSource(inputPath1));
opt.AddDataSource(new FileDataSource(inputPath2));
opt.AddDataSource(new FileDataSource(inputPath3));
opt.AddSaveDataSource(new FileDataSource(outputPath));
organizer.Process(opt);

2. Split

To run split options in several lines of code, create New PDF Organizer, add New Organizer Split Options, add input Data Source, add output Data Source and then run Organizer processing.

1
2
3
4
5
6
7
8
9
var inputPath = dataDir + "sample.pdf";
var outputPath1 = dataDir + "SplitResult.1.pdf";
var outputPath2 = dataDir + "SplitResult.2.pdf";
var organizer = new PdfOrganizer();
var opt = new PdfOrganizerSplitOptions();
opt.AddDataSource(new FileDataSource(inputPath));
opt.AddSaveDataSource(new FileDataSource(outputPath1));
opt.AddSaveDataSource(new FileDataSource(outputPath2));
organizer.Process(opt);

How to Organize PDF via .NET


  1. You need to install Aspose.PDF.Organizer for .NET.
  2. Load the PDF file with an instance of Document.
  3. Create a new Document class object to organize PDF.
  4. Add or remove page in the document.
  5. Save result document to a new file.

System Requirements

Just make sure that you have the following prerequisites.

  • Microsoft Windows or a compatible OS with .NET Framework or .NET Core
  • VBScript, Delphi, C++ via COM Interop.
  • Development environment like Microsoft Visual Studio.
  • Aspose.Imaging Conversion for .NET DLL referenced in your project.