Class Signature

Class Signature

A név: Aspose.Pdf.Plugins Összefoglaló: Aspose.PDF.dll (25.4.0)

Képesítse el az Aspose.Pdf.Plugins.Signature plugin használatát.

public sealed class Signature : IPlugin

Inheritance

object Signature

Implements

IPlugin

Örökletes tagok

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

A példa azt mutatja, hogyan kell aláírni a PDF dokumentumot.

// create Signature
var plugin = new Signature();
// create SignOptions object to set instructions
var opt = new SignOptions(inputPfx, inputPfxPassword);
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new FileDataSource(outputPath));
// perform the process
plugin.Process(opt);

Constructors

Signature()

public Signature()

Methods

Process(IPluginOpciók)

Kezdődik az Aspose.Pdf.Plugins.Signature feldolgozása a meghatározott paraméterekkel.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Egy opció objektum, amely az Aspose.Pdf.Plugins.Signature utasításokat tartalmazza.

Returns

ResultContainer

Egy ResultContainer objektum, amely tartalmazza a művelet eredményét.

Exceptions

InvalidOperationException

 Magyar