类时间戳

信息

表示 Documentize.Timestamp 插件。

public class Timestamp

继承关系

objectTimestamp

继承成员

示例

该示例演示如何将时间戳添加到文档。

// 创建时间戳
var plugin = new Timestamp();
// 创建 AddTimestampOptions 对象设置指令
var opt = new AddTimestampOptions("path_to_pfx", "password_for_pfx", "timestamp_server_url");
// 添加输入文件路径
opt.AddInput(new FileDataSource("path_to_pdf"));
// 设置输出文件路径
opt.AddOutput(new FileDataSource("path_to_result_pdf"));
// 执行处理
plugin.Process(opt);

构造函数

Timestamp()

public Timestamp()

方法

Process(AddTimestampOptions)

使用指定的参数开始 Documentize.Timestamp 处理。

public ResultContainer Process(AddTimestampOptions options)

参数

  • options AddTimestampOptions: 一个包含 Documentize.AddTimestampOptions 指令的选项对象。

返回

ResultContainer : 一个包含操作结果的 ResultContainer 对象。

命名空间: Documentize 程序集: Documentize.dll

2024年12月29日
 中文