Add

DigitalSignatureCollection.Add method

在集合结束时添加签名。

public void Add(IDigitalSignature signature)
范围类型描述
signatureIDigitalSignature要添加的签名。

例子

[C#]
using (Presentation pres = new Presentation())
{
    DigitalSignature signature = new DigitalSignature("testsignature1.pfx", @"testpass1");
    signature.Comments = "Aspose.Slides digital signing test.";
    pres.DigitalSignatures.Add(signature);
    pres.Save("SomePresentationSigned.pptx", SaveFormat.Pptx);
}

也可以看看