Add

DigitalSignatureCollection.Add method

Ajoute la signature en fin de collecte.

public void Add(IDigitalSignature signature)
ParamètreTaperLa description
signatureIDigitalSignatureSignature à ajouter.

Exemples

[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);
}

Voir également