GroupDocs.Signature for .NET 20.9 Release Notes

Major Features

There are few important new features and improvements in this release. Most features are related to ability to hide and remove digital electronic signatures on Pdf Document pages same as adjust appearance of its representation on document page. Below the list of most notable changes in release of GroupDocs.Signature for .NET 20.9:

  • Implement ability to hide digital signatures on document preview for PDF documents.
  • Involved option to adjust digital signature appearance on page.
  • Introduced ability to remove digital signatures from PDF documents.

Full List of Issues Covering all Changes in this Release

KeySummaryIssue Type
SIGNATURENET-3085Implement ability to hide digital signatures on PDF Document PreviewFeature
SIGNATURENET-3084Set additional Digital Signatures properties for PDF documentsFeature
SIGNATURENET-3083Implement ability to remove digital signatures from PDF documentsFeature

Public API and Backward Incompatible Changes

New constructor with string signature unique identifier for class DigitalSignature is the list of processed signatures

New constructor class DigitalSignature allows to create instance with predefined signature identifier.

New constructor DigitalSignature

/// <summary>
/// Initialize Digital signature with known SignatureId.
/// </summary>
public DigitalSignature(string signatureId)

Following example shows how to delete Digital signature by known signature identifier.

// initialize Signature instance
using (Signature signature = new Signature("signedSample.pdf"))
{
    DigitalSignature dsSignature = new DigitalSignature("a01e1940-997a-444b-89af-9309a2d559a5");
    // delete required signatures
    bool result = signature.Delete(dsSignature);
    if (result)
    {
        Console.WriteLine("All signatures were successfully deleted!");
    }
    else
    {
        Helper.WriteError($"Not digital signatures : {dsSignature.SignatureId}");
    }
}

New boolean property ShowProperties of class PdfDigitalSignature was added

New boolean property ShowProperties was added to class PdfDigitalSignature. This property allow to adjust appearance of Digital signture on Pdf document page.