Following are some common properties, methods and utilities used in all GroupDocs.Signature for .NET API examples.

Common Properties

Following are some common properties used in all examples.

<script src="https://gist.github.com/GroupDocsGists/0911313d271d678f7431ff936d8a473b.js"></script>

Apply License

Following code applies product license.

<script src="https://gist.github.com/GroupDocsGists/4d318252301a32e7978fa7da3f9394ad.js"></script>

Configurations

Initialize, populate and return the SignatureConfig object.

<script src="https://gist.github.com/GroupDocsGists/f2e6c6407ec07acba0e78b51cb177bf5.js"></script>

Save Output Document

Output files can be in multiple formats with distinct signatures, like text, image or digital signatures. Following code maps destination folder to save output files:

<script src="https://gist.github.com/GroupDocsGists/820fccb1643fe4ad99a089ee746afc57.js"></script>

Save Output Document with Specifying Saving Options

API permits to save signed/output document with saving options as shown in the code.

<script src="https://gist.github.com/GroupDocsGists/2b85f2fa65333d66993cf261a9dcc497.js"></script>

Not only this, the API also allows to set the name of the output file in save options

<script src="https://gist.github.com/GroupDocsGists/7cdcec7b0cabd5ef4933e0e585db99b6.js"></script>

Azure Data Handler

The Code

<script src="https://gist.github.com/GroupDocsGists/969a8abda4ae509dde73b286817eb39c.js"></script>

Complete Class

<script src="https://gist.github.com/GroupDocsGists/a28f633da085d2e9733e52e57ac01d1e.js"></script>