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

一个包含操作结果的 ResultContainer 对象。

Exceptions

InvalidOperationException

 中文