Class Splitter

Class Splitter

Navne til: Aspose.Pdf.Plugins Sammensætning: Aspose.PDF.dll (25.4.0)

Det er en del af Aspose.Pdf.Plugins.Splitter plugin.

public class Splitter : IPlugin

Inheritance

object Splitter

Implements

IPlugin

De arvede medlemmer

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

Examples

Eksemplet viser, hvordan man deler PDF-dokumentet.

// 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(IPluginoptioner)

Du starter behandlingen af Aspose.Pdf.Plugins.Splitter med de angivne parametre.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Et alternativ objekt, der indeholder instruktioner for Aspose.Pdf.Plugins.Splitter.

Returns

ResultContainer

En ResultContainer-objekt, der indeholder resultatet af operationen.

Exceptions

InvalidOperationException

 Dansk