Class Splitter

Class Splitter

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Represents Aspose.Pdf.Plugins.Splitter plugin.

public class Splitter : IPlugin

Inheritance

objectSplitter

Implements

IPlugin

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

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);

Constructors

Splitter()

public Splitter()

Methods

Process(IPluginOptions)

Starts the Aspose.Pdf.Plugins.Splitter processing with the specified parameters.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

An options object containg instructions for the Aspose.Pdf.Plugins.Splitter.

Returns

ResultContainer

An ResultContainer object containg the result of the operation.

Exceptions

InvalidOperationException

 English