GroupDocs.Signature for .NET 22.9 Release Notes

Major Features

The main feature of this release is the Net6.0 framework support. Besides that there are many fixes, improvements and features. New standard object SMS was implemented for the QR Code. Few fixes are related to processing QR Codes and signing Word Processing documents. Below the list of most notable changes in release of GroupDocs.Signature for .NET 21.9:

  • Net 6.0 framework support was added.
  • New QR Code SMS object was implemented
  • Fixed QR Code Event serialization issue.
  • Implemented fixes with unexpected options settings.
  • Fixed issues with damaged metadata information in the Microsoft Office documents
  • The referenced libraries were updated to the latest versions.

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
SIGNATURENET-3993Fixed QR Code Event object with multiple location serializationBug
SIGNATURENET-3987Error when signing the document with negative Width or Heigh parametersBug
SIGNATURENET-3959Exception : Image export failedBug
SIGNATURENET-3953Error processing Image documents: Unable to cast object of type ‘System.Int32’ to type ‘System.UInt16’Bug
SIGNATURENET-3952Error obtaining Words processing Document InfoBug
SIGNATURENET-3951Processing Word Documents : Parameter not validBug
SIGNATURENET-3658Error processing Image Document with many metadata itemsBug
SIGNATURENET-3915Implement SMS QR Code entity objectFeature
SIGNATURENET-3847Involve .Net 6.0 SupportFeature
SIGNATURENET-3991Skip possible damaged internal metadata information for most supported Office documentsEnhancement

Public Developer Guide examples changes

The following topics from Developer Guide were changed

eSign PDF with QR Code entries

Public API and Backward Incompatible Changes

Public class SMS was added to provide SMS QR Code object properties

Class [SMS] contains following properties to get or set.

/// <summary>
/// Represents SMS short message service details.
/// </summary>
public class SMS
{
    /// <summary>
    ///Gets or sets SMS receipient phone number.
    /// </summary>
    public string Number { get; set; }

    /// <summary>
    ///Gets or sets SMS message content.
    /// </summary>
    public string Message { get; set; }

    /// <summary>
    /// Creates VCard instance with default values.
    /// </summary>
    public SMS()
    {
    }
}

The following example demonstrates how to create SMS QR Code standard entry.

Create QR Code signature with SMS

public static void Run()
{
    using (Signature signature = new Signature("sample.pdf"))
    {
        // create SMS object
        SMS sms = new SMS()
        {
            Number = "0800 048 0408",
            Message = "Document approval automatic SMS message"
        };
        // create options
        QrCodeSignOptions options = new QrCodeSignOptions
        {
            EncodeType = QrCodeTypes.QR,
            // setup Data property to SMS instance
            Data = sms,
            // set right bottom corner
            HorizontalAlignment = HorizontalAlignment.Left,
            VerticalAlignment = VerticalAlignment.Center,
            Width = 100,
            Height = 100,
            Margin = new Padding(10)
        };

        // sign document to file
        signature.Sign(outputFilePath, options);
        Console.WriteLine($"\nSource document signed successfully with {signResult.Succeeded.Count} signature(s).\nFile saved at {outputFilePath}.");
    }
}