Add()
IDigitalSignatureCollection::Add(System::SharedPtr<IDigitalSignature>) method
Adds the signature at the end of collection.
virtual void Aspose::Slides::IDigitalSignatureCollection::Add(System::SharedPtr<IDigitalSignature> digitalSignature)=0
Arguments
Parameter | Type | Description |
---|---|---|
digitalSignature | System::SharedPtr<IDigitalSignature> | Signature to add. |
Remarks
auto pres = System::MakeObject<Presentation>();
auto signature = System::MakeObject<DigitalSignature>(u"testsignature1.pfx", u"testpass1");
signature->set_Comments(u"Aspose.Slides digital signing test.");
pres->get_DigitalSignatures()->Add(signature);
pres->Save(u"SomePresentationSigned.pptx", Aspose::Slides::Export::SaveFormat::Pptx);
See Also
- Typedef SharedPtr
- Class IDigitalSignature
- Class IDigitalSignatureCollection
- Namespace Aspose::Slides
- Library Aspose.Slides