Class Signature

Class Signature

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Đại diện cho plugin Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

Kế thừa

objectSignature

Triển khai

IPlugin

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

object.GetType(), 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 ký tài liệu PDF.

// tạo Signature
var plugin = new Signature();
// tạo đối tượng SignOptions để thiết lập hướng dẫn
var opt = new SignOptions(inputPfx, inputPfxPassword);
// thêm đường dẫn tệp đầu vào
opt.AddInput(new FileDataSource(inputPath));
// thiết lập đường dẫn tệp đầu ra
opt.AddOutput(new FileDataSource(outputPath));
// thực hiện quá trình
plugin.Process(opt);

Các hàm khởi tạo

Signature()

public Signature()

Các phương thức

Process(IPluginOptions)

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

public ResultContainer Process(IPluginOptions options)

Tham số

options IPluginOptions

Một đối tượng tùy chọn chứa hướng dẫn cho Aspose.Pdf.Plugins.Signature.

Trả về

ResultContainer

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

Ngoại lệ

InvalidOperationException

 Tiếng Việt