v25.5

新增插件:Form Exporter

  • Class FormExporter:表示 Documentize.FormExporter 插件,用于将 PDF 文档的表单值导出为 DSV 或 CSV 文件
  • Class FormExportToDsvOptions:表示通过 Documentize.FormExporter 插件将 PDF 文档的表单值导出为 DSV 或 CSV 文件的选项

示例用法:

// The example demonstrates how to Export Form values to CSV file.
// Create FormExportToDsvOptions object to set instructions
var options = new FormExportToDsvOptions(',', true);
// Add input file path
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
 // Set output file path
options.AddOutput(new FileDataSource("path_to_result_csv_file.csv"));
 // Perform the process
FormExporter.Process(options);

改进了 Security 的可用性

  • 该类为静态类,无需使用构造函数。
  • 改进了主要示例。

示例用法:

// The example demonstrates how to encrypt PDF document.
// Create EncryptionOptions object to set instructions
var options = new EncryptionOptions("123456", "qwerty");
// Add input file path
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
 // Set output file path
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
 // Perform the process
Security.Process(options);

// The example demonstrates how to decrypt PDF document.
// Create DecryptionOptions object to set instructions
var options = new DecryptionOptions("123456");
// Add input file path
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
 // Set output file path
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
 // Perform the process
Security.Process(options);

小幅修复

  • 改进了类提示和许可证信息。
 中文