// 该示例演示如何将表单值导出到 CSV 文件。
// 创建 FormExportToDsvOptions 对象以设置指令
var options = new FormExportToDsvOptions(',', true);
// 添加输入文件路径
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 设置输出文件路径
options.AddOutput(new FileDataSource("path_to_result_csv_file.csv"));
// 执行处理
FormExporter.Process(options);
// 该示例演示如何加密 PDF 文档。
// 创建 EncryptionOptions 对象以设置指令
var options = new EncryptionOptions("123456", "qwerty");
// 添加输入文件路径
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 设置输出文件路径
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// 执行处理
Security.Process(options);
// 该示例演示如何解密 PDF 文档。
// 创建 DecryptionOptions 对象以设置指令
var options = new DecryptionOptions("123456");
// 添加输入文件路径
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 设置输出文件路径
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// 执行处理
Security.Process(options);