Class PdfOrganizer
Contents
[
Hide
]PdfOrganizer class
Represents PdfOrganizer plugin.
public sealed class PdfOrganizer : IDisposable, IPlugin
Constructors
Name | Description |
---|---|
PdfOrganizer() | The default constructor. |
Methods
Name | Description |
---|---|
Dispose() | Implementation of IDisposable. In fact, it is not necessary for PdfOrganizer. |
Process(IPluginOptions) | Starts the PdfOrganizer processing with the specified parameters. |
Examples
The example demonstrates how to merge two PDF documents.
// create PdfOrganizer
var organizer = new PdfOrganizer();
// create PdfOrganizerMergeOptions or PdfOrganizerSplitOptions object to set instructions
var opt = new PdfOrganizerMergeOptions();
// add input file paths
opt.AddDataSource(new FileDataSource(inputPath1));
opt.AddDataSource(new FileDataSource(inputPath2));
// set output file path
opt.AddSaveDataSource(new FileDataSource(outputPath));
// perform extraction process
organizer.Process(opt);
See Also
- interface IPlugin
- namespace Aspose.Pdf.Plugins
- assembly Aspose.PDF