Set Signature Position in Cells using GroupDocs.Signature for .NET 18.6

GroupDocs.Signature

Like every month, the team GroupDocs has released another version 18.6 of the API and implements a number of new features and improvements in this monthly release. This latest version includes features like verification of encrypted QR-Code Text and alignment of text in Text Signatures. Furthermore, now users of this API can also verify QR-Code and Barcode Signatures without specifying the EncodeType. We therefore, would like our customers to download the latest version and evaluate the exciting features to enhance document e-signing experience.

Features

Verify Encrypted QR-Code Text

Now users of this API can verify encrypted QR-Code text in documents using property DataEncryption Following example demonstrates how to verify text of encrypted QR-Code Signature in PDF:
// setup key and pasphrase
string key = "1234567890";
string salt = "1234567890";
// create data encryption
IDataEncryption encrypter = new SymmetricEncryption(SymmetricAlgorithmType.Rijndael, key, salt);
// setup verification options
PDFVerifyQRCodeOptions verifyOptions = new PDFVerifyQRCodeOptions(@"This is private text to be secured.");
// specify text encryption
signOptions.DataEncryption = encrypter;
//verify document
VerificationResult result = handler.Verify("Sample.pdf", verifyOptions);

Align Text in Text Signature

Users can align text in Text Signature for Words, Slides, Images and PDF. Following code sample shows how to align text in Text Signature for Words:
// setup text signature options
WordsSignTextOptions signOptions = new WordsSignTextOptions("John Smith");
signOptions.Width = 100;
signOptions.Height = 100;
// type of implementation
signOptions.SignatureImplementation = WordsTextSignatureImplementation.TextAsImage;
// set text alignment inside signature (This feature support is starting from version 18.06)
signOptions.TextHorizontalAlignment = TextHorizontalAlignment.Center;
signOptions.TextVerticalAlignment = TextVerticalAlignment.Center;

Set Signature Position in Cells with Pixels

This version of the API allow users to set position of signatures in Cells with pixels. Following code shows how to set position of Text Signature in Cells file formats:
// Specify Signature Options 
CellsSignTextOptions signOptions = new CellsSignTextOptions("John Smith");
signOptions.Width = 100;
signOptions.Height = 100;
signOptions.Top = 15;
signOptions.Left = 22;

Improvements

  • Verify QR-Code and Barcode Signatures without specifying EncodeType
  • Global Exception handler to catch all un-handled exceptions
  • Setting color of QR-code and Barcode text with fore color value

Bug Fixes

  • Fix exception on QR-Code Signature Verification when options has no Encode Type specified
  • Wrong text alignment in Text Signature shape for Words
  • QR-Code rendering for various settings

Available Channels and Resources

Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Signature API for .NET:

Feedback

As always, you are welcome to share your feedback to improve this product. We will be happy to know your thoughts. Just create a forum thread and our dedicated support team will be there to respond.