Class Merger
Merger class
Represents Merger
plugin.
public sealed class Merger : IPlugin
Constructors
Name | Description |
---|---|
Merger() | The default constructor. |
Methods
Name | Description |
---|---|
Process(IPluginOptions) | Starts the Merger processing with the specified parameters. |
Examples
The example demonstrates how to merge two PDF documents.
// create Merger
var merger = new Merger();
// create MergeOptions object to set instructions
var opt = new MergeOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
merger.Process(opt);
See Also
- interface IPlugin
- namespace Aspose.Pdf.Plugins
- assembly Aspose.PDF