Class Merger

Class Merger

Numele spaţiului: Aspose.Pdf.Plugins Asamblare: Aspose.PDF.dll (25.4.0)

Representează pluginul Aspose.Pdf.Plugins.Merger.

public sealed class Merger : IPlugin

Inheritance

object Merger

Implements

IPlugin

Membrii moștenitori

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

Examples

Exemplul arată cum se combină două documente PDF.

// 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(Opțiuni IPlugin)

Începe procesarea Aspose.Pdf.Plugins.Merger cu parametrii specificați.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Un obiect de opțiuni care conține instrucțiuni pentru Aspose.Pdf.Plugins.Merger.

Returns

ResultContainer

Un obiect ResultContainer care conține rezultatul operațiunii.

Exceptions

InvalidOperationException

 Română