eSign Presentation with Metadata signature
Leave feedback
GroupDocs.Signature provides PresentationMetadataSignature class to specify different Metadata signature objects for MetadataSignOptions instance to sign Presentation document files. Presentation document metadata is hidden attributes, some of them are visible only over viewing standard document properties like Author, Creation Date, Producer, Entry, Keywords etc. Presentation document metadata contains pair of Name and Value, Name should be unique within the document. Presentation document metadata could keep big amount of data that allows provides ability to keep serialized custom objects with additional encryption in there.
Here are the steps to add metadata signatures into Presentation document with GroupDocs.Signature:
Create new instance of Signature class and pass source document path as a constructor parameter.
This example shows how to add Metadata signature to Presentation document.
Signaturesignature=newSignature("sample.ppsx");// setup options with text of signature
MetadataSignOptionsoptions=newMetadataSignOptions();// Create few Presentation Metadata signatures
PresentationMetadataSignature[]signatures=newPresentationMetadataSignature[]{newPresentationMetadataSignature("Author","Mr.Scherlock Holmes"),newPresentationMetadataSignature("DateCreated",newDate()),newPresentationMetadataSignature("DocumentId",123456),newPresentationMetadataSignature("SignatureId",123.456)};options.getSignatures().addRange(signatures);// sign document to file
signature.sign("SampleSigned.ppsx",options);
More resources
Advanced Usage Topics
To learn more about document eSign features, please refer to the advanced usage section.
GitHub Examples
You may easily run the code above and see the feature in action in our GitHub examples:
Along with full-featured .NET library we provide simple, but powerful free Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents with free to use online GroupDocs Signature App.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.