eSign Presentation with Metadata signature
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.
- Instantiate the MetadataSignOptions object according to your requirements.
- Instantiate one or severalPresentationMetadataSignature objects and add them into MetadataSignOptions to metadata signatures collection (Signatures) via Add or AddRange method.
- Call Sign method of Signature class instance and pass MetadataSignOptions to it.
How to eSign Presentation with Metadata signature
This example shows how to add Metadata signature to Presentation document.
using (Signature signature = new Signature("sample.ppsx"))
{
MetadataSignOptions options = new MetadataSignOptions();
// Create few Presentation Metadata signatures
PresentationMetadataSignature[] signatures = new PresentationMetadataSignature[]
{
new PresentationMetadataSignature("Author", "Mr.Scherlock Holmes"),
new PresentationMetadataSignature("DateCreated", DateTime.Now),
new PresentationMetadataSignature("DocumentId", 123456),
new PresentationMetadataSignature("SignatureId", 123.456M)
};
options.Signatures.AddRange(signatures);
signature.Sign("SampleSigned.ppsx", options);
}
Advanced Usage Topics
To learn more about document eSign features, please refer to the advanced usage section.
More resources
GitHub Examples
You may easily run the code above and see the feature in action in our GitHub examples:
- GroupDocs.Signature for .NET examples, plugins, and showcase
- GroupDocs.Signature for Java examples, plugins, and showcase
- Document Signature for .NET MVC UI Example
- Document Signature for .NET App WebForms UI Example
- Document Signature for Java App Dropwizard UI Example
- Document Signature for Java Spring UI Example
Free Online App
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.