Class Timestamp
信息
表示 Documentize.Timestamp 插件。用于向文档添加时间戳。
public static class Timestamp
继承
继承的成员
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
示例
该示例演示如何向文档添加时间戳。
// 创建 AddTimestampOptions 对象以设置指令
var options = new AddTimestampOptions("path_to_your_pfx_file.pfx", "password_for_your_pfx_file", "timestamp_server_url");
// 添加输入文件路径
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// 设置输出文件路径
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// 执行该过程
Timestamp.Process(options);
方法
Process(AddTimestampOptions)
使用指定的参数开始 Documentize.Timestamp 处理。
public static ResultContainer Process(AddTimestampOptions options)
参数
options
AddTimestampOptions: 一个包含操作指令的选项对象。
返回
ResultContainer : 一个包含操作结果的对象。
命名空间: Documentize 程序集: Documentize.dll