Add
IDigitalSignatureCollection.Add method
Adds the signature at the end of collection.
public void Add(IDigitalSignature digitalSignature)
Parameter | Type | Description |
---|---|---|
digitalSignature | IDigitalSignature | Signature to add. |
Examples
[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);
}
See Also
- interface IDigitalSignature
- interface IDigitalSignatureCollection
- namespace Aspose.Slides
- assembly Aspose.Slides