Class Signature

Class Signature

Nom dels espais: Aspose.Pdf.Plugins Assemblea: Aspose.PDF.dll (25.4.0)

Representa el plugin Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

Inheritance

object Signature

Implements

IPlugin

Membres heretats

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

Examples

L’exemple demostra com firmar un document PDF.

// 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(Opcions IPlugin)

Comença el tractament Aspose.Pdf.Plugins.Signature amb els paràmetres especificats.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Un objecte d’opcions que conté instruccions per a l’Aspose.Pdf.Plugins.Signature.

Returns

ResultContainer

Un objecte ResultContainer que conté el resultat de l’operaci.

Exceptions

InvalidOperationException

 Català