Class Signature

Class Signature

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

แสดงถึงปลั๊กอิน Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

การสืบทอด

objectSignature

การนำไปใช้

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

อ็อบเจ็กต์ ResultContainer ที่มีผลลัพธ์ของการดำเนินการ.

ข้อยกเว้น

InvalidOperationException

 แบบไทย