Class Signature

Class Signature

Името на пространството: Aspose.Pdf.Plugins Асамблея: Aspose.PDF.dll (25.4.0)

Aspose.Pdf.Plugins.Signature.

public sealed class Signature : IPlugin

Inheritance

object Signature

Implements

IPlugin

наследници

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

Examples

Примерът показва как да подпишете 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(IPlugin опции)

Aspose.Pdf.Plugins.Signature.

public ResultContainer Process(IPluginOptions options)

Parameters

options IPluginOptions

Aspose.Pdf.Plugins.Signature.

Returns

ResultContainer

Резултат контейнер обект, съдържащ резултата от операцията.

Exceptions

InvalidOperationException

 Български