v24.12

新しいプラグインを追加: PDF to PNG Converter

  • Class PngConverter: Documentize.PngConverter プラグインを表します。PDF 文書を PNG 形式に変換するために使用されます。
  • Class PdfToPngOptions: Documentize.PngConverter プラグインの PDF to PNG コンバータオプションを表します。

使い方の例:

// PngConverter を作成
var plugin = new PngConverter();
// 指示を設定するための PdfToPngOptions オブジェクトを作成
var opt = new PdfToPngOptions();
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 出力ファイルパスを設定
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
// プロセスを実行
plugin.Process(opt);

新しいプラグインを追加: PDF to TIFF Converter

  • Class TiffConverter: Documentize.TiffConverter プラグインを表します。PDF 文書を TIFF 形式に変換するために使用されます。
  • Class PdfToTiffOptions: Documentize.TiffConverter プラグインの PDF to TIFF コンバータオプションを表します。

使い方の例:

// TiffConverter を作成
var plugin = new TiffConverter();
// 指示を設定するための PdfToTiffOptions オブジェクトを作成
var opt = new PdfToTiffOptions();
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 出力ファイルパスを設定
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
// プロセスを実行
plugin.Process(opt);

新しいプラグインを追加: PDF Table Generator

  • Class TableGenerator: Documentize.TableGenerator プラグインを表します。PDF 文書にテーブルを追加するために使用されます。
  • Class TableBuilder: PDF ページ内のテーブルのビルダーを表すクラスです。
  • Class TableRowBuilder: テーブル行のビルダーを表すクラスです。
  • Class TableCellBuilder: テーブルセルのビルダーを表すクラスです。

使い方の例:

// TableGenerator を作成
var plugin = new TableGenerator();
// 指示を設定するための TableOptions オブジェクトを作成
TableOptions opt = new TableOptions().InsertPageBefore(1)
   .AddTable()
        .AddRow()
            .AddCell().AddParagraph("Name")
            .AddCell().AddParagraph("Age")
        .AddRow()
            .AddCell().AddParagraph("Bob")
            .AddCell().AddParagraph("12")
        .AddRow()
            .AddCell().AddParagraph("Sam")
            .AddCell().AddParagraph("20")
        .AddRow()
            .AddCell().AddParagraph("Sandy")
            .AddCell().AddParagraph("26")
        .AddRow()
            .AddCell().AddParagraph("Tom")
            .AddCell().AddParagraph("12")
        .AddRow()
            .AddCell().AddParagraph("Jim")
            .AddCell().AddParagraph("27");
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 出力ファイルパスを設定
opt.AddOutput(new FileDataSource("path_to_the_converted_file.pdf"));
// プロセスを実行
plugin.Process(opt);

クラス PdfDoc の名前を DocConverter に変更

  • Class DocConverter: Documentize.DocConverter プラグインを表します。PDF 文書を DOC/DOCX 形式に変換するために使用されます。

使い方の例:

// DocConverter を作成
var plugin = new DocConverter();
// 指示を設定するための PdfToDocOptions オブジェクトを作成
var opt = new PdfToDocOptions();
// 入力ファイルパスを追加
opt.AddInput(new FileDataSource(inputPath));
// 出力ファイルパスを設定
opt.AddOutput(new FileDataSource(outputPath));
// プロセスを実行
plugin.Process(opt);
 日本語