What's New

v24.12

  • Added new Plugin: PDF to PNG Converter
  • Added new Plugin: PDF to TIFF Converter
  • Added new Plugin: PDF Table Generator
  • Renamed Class PdfDoc to DocConverter

v24.11

  • Added new Plugin: PDF to JPEG Converter
  • Added Class DirectoryDataSource
  • Added Class PdfToJpegOptions

v24.10

  • Added new Plugin: PDF/A Converter

v24.9

  • Released
Sep 13, 2024

Subsections of What's New

v24.12

Added new Plugin: PDF to PNG Converter

  • Class PngConverter: Represents Documentize.PngConverter plugin. Used to convert PDF documents into PNG format.
  • Class PdfToPngOptions: Represents PDF to PNG converter options for the Documentize.PngConverter plugin.

Example Usage:

// 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);

Added new Plugin: PDF to TIFF Converter

  • Class TiffConverter: Represents Documentize.TiffConverter plugin. Used to convert PDF documents into TIFF format.
  • Class PdfToTiffOptions: Represents PDF to TIFF converter options for the Documentize.TiffConverter plugin.

Example Usage:

// 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);

Added new Plugin: PDF Table Generator

  • Class TableGenerator: Represents Documentize.TableGenerator plugin. Used to add a table to a PDF document.
  • Class TableBuilder: Class represents builder for table in pdf page.
  • Class TableRowBuilder: Class represents builder for table row.
  • Class TableRowBuilder: Class represents builder for table cell.

Example Usage:

// 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);

Renamed Class PdfDoc to DocConverter

  • Class DocConverter: Represents Documentize.DocConverter plugin. Used to convert PDF documents into DOC/DOCX format.

Example Usage:

// 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);
Jan 13, 2025

v24.11

Added new Plugin: PDF to JPEG Converter

  • Purpose: The JpegConverter class is designed to convert PDF documents into JPEG format, making it easier for users to handle and share images derived from PDFs.
  • Constructor:
    • JpegConverter(): Initializes a new instance of the JPEG converter.

Example Usage:

var plugin = new JpegConverter();
var opt = new PdfToJpegOptions();
opt.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
opt.AddOutput(new DirectoryDataSource("path_to_results_directory"));
plugin.Process(opt);
  • Method:
    • Process(PdfToJpegOptions options): Starts the JPEG conversion process using the specified options.

Added Class DirectoryDataSource

  • Purpose: The DirectoryDataSource class allows users to manage directory data for loading and saving operations within plugins.
  • Constructor:
    • DirectoryDataSource(string path): Initializes a new directory data object with the specified path.

Example Usage:

var directorySource = new DirectoryDataSource("path_to_your_directory");
  • Properties:
    • DataType: Retrieves the type of data source.
    • Path: Gets the path of the current data directory.

Added Class PdfToJpegOptions

  • Purpose: This class contains options for configuring the JPEG conversion process, allowing users to specify resolution, page lists, and image quality.
  • Constructor:
    • PdfToJpegOptions(): Initializes a new options instance for the JPEG converter.

Properties:

  • OutputResolution: Specifies the resolution of the resulting JPEG images.
  • PageList: A list of pages to convert from the PDF.
  • Quality: Sets the quality of the JPEG output.
Jan 13, 2025

v24.10

Added new Plugin: PDF/A Converter

  • A new PDF/A conversion feature has been introduced, allowing users to easily convert standard PDF files to PDF/A compliant documents.

Example Usage:

var options = new PdfAConvertOptions
{
    PdfAVersion = PdfAStandardVersion.PDF_A_3B
};

options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
options.AddOutput(new FileDataSource("path_to_the_converted_file.pdf"));

var plugin = new PdfAConverter();
plugin.Process(options);

Bug Fixes

  • Fixed issues related to the FileResult class that resulted in incorrect output paths.
  • Resolved minor bugs affecting the HtmlConverter when handling large files.

Improvements

  • Enhanced performance of PdfExtractor and ImageExtractor for faster processing times.
  • Updated the RotateOptions class to support additional rotation angles.
Jan 13, 2025

v24.9

Released

 English