Class Merger

Class Merger

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

Az ASPOSE.Pdf.Plugins.Merger plugin alkalmazása.

public sealed class Merger : IPlugin

Inheritance

object Merger

Implements

IPlugin

Örökletes tagok

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

Examples

A példa azt mutatja, hogyan lehet egyesíteni két PDF dokumentumot.

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

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

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

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

Returns

ResultContainer

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

Exceptions

InvalidOperationException

 Magyar