Class Timestamp

Thông tin

Đại diện cho plugin Documentize.Timestamp. Được sử dụng để thêm Timestamp vào một tài liệu.

public static class Timestamp

Kế thừa

objectTimestamp

Các thành viên được kế thừa

Ví dụ

Ví dụ này minh họa cách thêm Timestamp vào tài liệu.

// Tạo đối tượng AddTimestampOptions để đặt hướng dẫn
var options = new AddTimestampOptions("path_to_your_pfx_file.pfx", "password_for_your_pfx_file", "timestamp_server_url");
// Thêm đường dẫn tệp đầu vào
options.AddInput(new FileDataSource("path_to_your_pdf_file.pdf"));
// Đặt đường dẫn tệp đầu ra
options.AddOutput(new FileDataSource("path_to_result_pdf_file.pdf"));
// Thực hiện quá trình
Timestamp.Process(options);

Phương thức

Process(AddTimestampOptions)

Bắt đầu quá trình Documentize.Timestamp với các tham số được chỉ định.

public static 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 hoạt động.

Trả về

ResultContainer: Một đối tượng chứa kết quả của hoạt động.

Namespace: Documentize Assembly: Documentize.dll

 Tiếng Việt