Class Splitter

Class Splitter

Името на пространството: Aspose.Pdf.Plugins Асамблея: Aspose.PDF.dll (25.5.0)

Aspose.Pdf.Plugins.Splitter.

public class Splitter : IPlugin

Inheritance

object Splitter

Implements

IPlugin

наследници

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

Examples

Примерът показва как да се раздели PDF документ.

// 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(IPlugin опции)

Aspose.Pdf.Plugins.Splitter.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Aspose.Pdf.Plugins.Splitter.

Returns

ResultContainer

Резултат контейнер обект, съдържащ резултата от операцията.

Exceptions

InvalidOperationException

 Български