Class Splitter

Class Splitter

Nom dels espais: Aspose.Pdf.Plugins Assemblea: Aspose.PDF.dll (25.4.0)

Representa el plugin Aspose.Pdf.Plugins.Splitter.

public class Splitter : IPlugin

Inheritance

object Splitter

Implements

IPlugin

Membres heretats

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

Examples

L’exemple demostra com dividir el document 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(Opcions IPlugin)

Comença el tractament Aspose.Pdf.Plugins.Splitter amb els paràmetres especificats.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Un objecte d’opcions que conté instruccions per a l’Aspose.Pdf.Plugins.Splitter.

Returns

ResultContainer

Un objecte ResultContainer que conté el resultat de l’operaci.

Exceptions

InvalidOperationException

 Català