Class Merger

情報

Documentize.Mergerプラグインを表します。複数のPDFドキュメントを1つのPDFにマージするために使用されます。

public static class Merger

継承

objectMerger

継承されたメンバー

この例は、2つのPDFドキュメントをマージする方法を示しています。

// MergeOptionsオブジェクトを作成して指示を設定
var options = new MergeOptions();
// 入力ファイルパスを追加
options.AddInput(new FileDataSource("path_to_your_pdf_file_1.pdf"));
options.AddInput(new FileDataSource("path_to_your_pdf_file_2.pdf"));
// 出力ファイルパスを設定
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// 処理を実行
Merger.Process(options);

メソッド

Process(MergeOptions)

PDFドキュメントをマージします。

public static ResultContainer Process(MergeOptions options)

パラメータ

  • options MergeOptions: 操作の指示を含むオプションオブジェクトです。

返り値

ResultContainer : 操作の結果を含むオブジェクトです。

例外

ArgumentException

オプションが設定されていない場合。

Namespace: Documentize Assembly: Documentize.dll

 日本語