Class Signature
Class Signature
Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll
מייצג את תוסף Aspose.Pdf.Plugins.Signature.
public sealed class Signature : IPlugin
ירושה
מיישם
חברים שהורשו
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
דוגמאות
הדוגמה מדגימה כיצד לחתום על מסמך PDF.
// יצירת Signature
var plugin = new Signature();
// יצירת אובייקט SignOptions כדי לקבוע הנחיות
var opt = new SignOptions(inputPfx, inputPfxPassword);
// הוספת נתיב קובץ קלט
opt.AddInput(new FileDataSource(inputPath));
// קביעת נתיב קובץ פלט
opt.AddOutput(new FileDataSource(outputPath));
// ביצוע התהליך
plugin.Process(opt);
בונים
Signature()
public Signature()
שיטות
Process(IPluginOptions)
מניע את עיבוד Aspose.Pdf.Plugins.Signature עם הפרמטרים המוגדרים.
public ResultContainer Process(IPluginOptions options)
פרמטרים
options
IPluginOptions
אובייקט אפשרויות המכיל הנחיות עבור Aspose.Pdf.Plugins.Signature.
מחזיר
אובייקט ResultContainer המכיל את תוצאת הפעולה.