Class Timestamp
Thông tin
Đại diện cho plugin Documentize.Timestamp.
public class Timestamp
Kế thừa
Các thành viên kế thừa
- object.GetType(),
- object.MemberwiseClone(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Ví dụ
Ví dụ này minh họa cách thêm Timestamp vào tài liệu.
// create Timestamp
var plugin = new Timestamp();
// create AddTimestampOptions object to set instructions
var opt = new AddTimestampOptions("path_to_pfx", "password_for_pfx", "timestamp_server_url");
// add input file path
opt.AddInput(new FileDataSource("path_to_pdf"));
// set output file path
opt.AddOutput(new FileDataSource("path_to_result_pdf"));
// perform the process
plugin.Process(opt);
Các hàm khởi tạo
Timestamp()
public Timestamp()
Các phương thức
Process(AddTimestampOptions)
Bắt đầu quá trình Documentize.Timestamp với các tham số đã chỉ định.
public ResultContainer Process(AddTimestampOptions options)
Tham số
options
AddTimestampOptions: Một đối tượng tùy chọn chứa các hướng dẫn cho Documentize.AddTimestampOptions.
Trả về
ResultContainer : Một đối tượng ResultContainer chứa kết quả của hoạt động.
Namespace: Documentize Assembly: Documentize.dll