v24.12

新しいプラグインを追加: PDF から PNG への変換機能

  • Class PngConverter: Documentize.PngConverter プラグインを表します。PDF ドキュメントを PNG 形式に変換します。
  • Class PdfToPngOptions: Documentize.PngConverter プラグイン用の PDF から PNG への変換オプションを表します。

使用例:

// create PngConverter
var plugin = new PngConverter();
// create PdfToPngOptions object to set instructions
var opt = new PdfToPngOptions();
// add input file path
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// set output file path
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
// perform the process
plugin.Process(opt);

新しいプラグインを追加: PDF から TIFF への変換機能

  • Class TiffConverter: Documentize.TiffConverter プラグインを表します。PDF ドキュメントを TIFF 形式に変換します。
  • Class PdfToTiffOptions: Documentize.TiffConverter プラグイン用の PDF から TIFF への変換オプションを表します。

使用例:

// create TiffConverter
var plugin = new TiffConverter();
// create PdfToTiffOptions object to set instructions
var opt = new PdfToTiffOptions();
// add input file path
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// set output file path
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
// perform the process
plugin.Process(opt);

新しいプラグインを追加: PDF テーブルジェネレータ

  • Class TableGenerator: Documentize.TableGenerator プラグインを表します。PDF ドキュメントにテーブルを追加します。
  • Class TableBuilder: PDF ページ上のテーブルを構築するためのビルダーを表します。
  • Class TableRowBuilder: テーブル行を構築するためのビルダーを表します。
  • Class TableCellBuilder: テーブルセルを構築するためのビルダーを表します。

使用例:

// create TableGenerator
var plugin = new TableGenerator();
// create TableOptions object to set instructions
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");
// add input file path
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// set output file path
opt.AddOutput(new FileDataSource("path_to_the_converted_file.pdf"));
// perform the process
plugin.Process(opt);

クラス名 PdfDoc を DocConverter に変更

  • Class DocConverter: Documentize.DocConverter プラグインを表します。PDF ドキュメントを DOC/DOCX 形式に変換します。

使用例:

// create DocConverter
var plugin = new DocConverter();
// create PdfToDocOptions object to set instructions
var opt = new PdfToDocOptions();
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
plugin.Process(opt);
 日本語