Class Merger

Class Merger

Nama dari : Aspose.Pdf.Plugins Pengumpulan: Aspose.PDF.dll (25.5.0)

Menampilkan Aspose.Pdf.Plugins.Merger plugin.

public sealed class Merger : IPlugin

Inheritance

object Merger

Implements

IPlugin

anggota yang diwarisi

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

Examples

Contohnya menunjukkan bagaimana menggabungkan dua dokumen 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(Pilihan IPlugin)

Memulai pemrosesan Aspose.Pdf.Plugins.Merger dengan parameter yang ditentukan.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Objek opsi yang berisi instruksi untuk Aspose.Pdf.Plugins.Merger.

Returns

ResultContainer

Sebuah objek ResultContainer yang mencakup hasil operasi.

Exceptions

InvalidOperationException

 Indonesia