Class Merger

Class Merger

Pôvodný názov: Aspose.Pdf.Plugins Zhromaždenie: Aspose.PDF.dll (25.4.0)

Predstavuje Aspose.Pdf.Plugins.Merger plugin.

public sealed class Merger : IPlugin

Inheritance

object Merger

Implements

IPlugin

Z dedičných členov

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

Examples

Príklad ukazuje, ako kombinovať dva PDF dokumenty.

// create Merger
var merger = new Merger();
// create MergeOptions object to set instructions
var opt = new MergeOptions();
// add input file paths
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
merger.Process(opt);

Constructors

Merger()

public Merger()

Methods

Process(IPluginopcie)

Začína sa spracovanie Aspose.Pdf.Plugins.Merger so špecifikovanými parametrami.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Objekt možností, ktorý obsahuje pokyny pre Aspose.Pdf.Plugins.Merger.

Returns

ResultContainer

Objekt ResultContainer obsahujúci výsledok operácie.

Exceptions

InvalidOperationException

 Slovenčina