v24.12

Nuevo Plugin añadido: Convertidor de PDF a PNG

  • Clase PngConverter: Representa el plugin Documentize.PngConverter. Se utiliza para convertir documentos PDF al formato PNG.
  • Clase PdfToPngOptions: Representa las opciones del convertidor de PDF a PNG para el plugin Documentize.PngConverter.

Ejemplo de uso:

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

Nuevo Plugin añadido: Convertidor de PDF a TIFF

  • Clase TiffConverter: Representa el plugin Documentize.TiffConverter. Se utiliza para convertir documentos PDF al formato TIFF.
  • Clase PdfToTiffOptions: Representa las opciones del convertidor de PDF a TIFF para el plugin Documentize.TiffConverter.

Ejemplo de uso:

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

Nuevo Plugin añadido: Generador de tablas PDF

  • Clase TableGenerator: Representa el plugin Documentize.TableGenerator. Se utiliza para añadir una tabla a un documento PDF.
  • Clase TableBuilder: Clase que representa el constructor de tablas en una página PDF.
  • Clase TableRowBuilder: Clase que representa el constructor de filas de tabla.
  • Clase TableCellBuilder: Clase que representa el constructor de celdas de tabla.

Ejemplo de uso:

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

Clase renombrada de PdfDoc a DocConverter

  • Clase DocConverter: Representa el plugin Documentize.DocConverter. Se utiliza para convertir documentos PDF a formato DOC/DOCX.

Ejemplo de uso:

// 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);
7 sept. 2026
 Español