C# .NET Digital Signature API

With the release of version 19.10 of our electronic signature API - GroupDocs.Signature for .NET, we have introduced the features of searching text signatures and image signatures in the supported document formats. Not only this, the API now supports .NET Standard 2.0 which makes it compatible with any .NET implementation that targets .NET Standard specifications. So let’s have a brief overview of what is new, improved or fixed in the latest release.

Searching Text or Image Signatures

Text and image signatures are among the popular types of signatures for digital documents. GroupDocs.Signature supports adding text and image signatures in the supported document formats. However, there could be the case when you need to scan a document to search if a document is signed with a particular text or image. The manual inspection of the whole document or a bunch of documents is not an efficient way. To deal with such a case, we have introduced the feature of searching text or image signatures.

Searching Text Signature

GroupDocs.Signature for .NET provides various options in TextSearchOptions class for searching the text signatures including:

  • Text - The signature text to match on searching.
  • AllPages - Flag to search on each page of the document.
  • MatchType - Specifies the match types such as exact match, contains, starts with and ends with.
  • PageNumber - For searching on a specific page.
  • PagesSetup - To specify if you want to search on even/odd pages, first/last page or on the arbitrary page numbers.

The following code sample shows how to search a text signature in a document.

Searching Image Signature

For searching image signatures, the API provides ImageSeachOptions class which contains the following options:

  • AllPages - Flag to search on each page of the document.
  • PageNumber - For searching on a specific page.
  • PagesSetup - To specify if you want to search on even/odd pages, first/last page or on the arbitrary page numbers.

The following code sample shows how to search the image signature in a document.

For more details on the search feature, please visit this documentation section.

Support of .NET Standard 2.0

We received a number of requests from our customers for the support of .NET Core. Therefore, we have added the support of .NET Standard 2.0 in our latest release. Now, you can use the API in .NET Framework as well as in .NET Core for the cross-platform development.

Bug Fix

The memory leaks were found in the previous versions of the API while previewing the documents. This issue has now been fixed in v19.10.

You can download the latest version of the API to avail the above-mentioned features and fix. For running code samples, download or clone the examples project from the GitHub repository. You can also get in touch with us via our forum.