Class Splitter

Class Splitter

A név: Aspose.Pdf.Plugins Összefoglaló: Aspose.PDF.dll (25.4.0)

Képesítse el az Aspose.Pdf.Plugins.Splitter plugin használatát.

public class Splitter : IPlugin

Inheritance

object Splitter

Implements

IPlugin

Örökletes tagok

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

Examples

A példa azt mutatja, hogyan lehet megosztani a PDF dokumentumot.

// 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(IPluginOpciók)

Kezdődik az Aspose.Pdf.Plugins.Splitter feldolgozás a meghatározott paraméterekkel.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Egy opció objektum, amely az Aspose.Pdf.Plugins.Splitter utasításokat tartalmazza.

Returns

ResultContainer

Egy ResultContainer objektum, amely tartalmazza a művelet eredményét.

Exceptions

InvalidOperationException

 Magyar