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.
// إنشاء توقيع
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 يحتوي على نتيجة العملية.