Class Splitter
Splitter class
Represents Splitter plugin.
public class Splitter : IPlugin
Constructors
| Name | Description |
|---|---|
| Splitter() | The default constructor. |
Methods
| Name | Description |
|---|---|
| Process(IPluginOptions) | Starts the Splitter processing with the specified parameters. |
Examples
The example demonstrates how to split PDF document.
// create Splitter
var splitter = new Splitter();
// create SplitOptions object to set instructions
var opt = new SplitOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath));
// set output file paths
opt.AddOutput(new FileDataSource(outputPath1));
opt.AddOutput(new FileDataSource(outputPath2));
// perform the process
splitter.Process(opt);
See Also
- interface IPlugin
- namespace Aspose.Pdf.LowCode
- assembly Aspose.PDF