DigitalSignatureCollectionAdd Method

Adds the signature at the end of collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
public void Add(
	IDigitalSignature signature
)

Parameters

signature
Type: Aspose.SlidesIDigitalSignature
Signature to add.

Implements

IDigitalSignatureCollectionAdd(IDigitalSignature)
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