Class Merger
Class Merger
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
Aspose.Pdf.Plugins.Merger プラグインを表します。
public sealed class Merger : IPlugin
継承
実装
継承されたメンバー
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
例
この例では、2つのPDFドキュメントをマージする方法を示します。
// Mergerを作成
var merger = new Merger();
// 指示を設定するためのMergeOptionsオブジェクトを作成
var opt = new MergeOptions();
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource(inputPath1));
opt.AddInput(new FileDataSource(inputPath2));
// 出力ファイルパスを設定
opt.AddOutput(new FileDataSource(outputPath));
// プロセスを実行
merger.Process(opt);
コンストラクター
Merger()
public Merger()
メソッド
Process(IPluginOptions)
指定されたパラメーターでAspose.Pdf.Plugins.Mergerの処理を開始します。
public ResultContainer Process(IPluginOptions options)
パラメーター
options
IPluginOptions
Aspose.Pdf.Plugins.Mergerの指示を含むオプションオブジェクト。
戻り値
操作の結果を含むResultContainerオブジェクト。