GroupDocs.Signature for .NET 24.6 Release Notes
This page contains release notes for GroupDocs.Signature for .NET 24.6
The release of GroupDocs.Signature version 24.6 adds features and bug fixes.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
SIGNATURENET-4993 | ★ Feature | Support modifying (including deleting) operations for signatures located in the headers and footers of Word documents |
SIGNATURENET-5138 | ★ Feature | Provide support for single-file archive formats such as GZip and LZip |
SIGNATURENET-5135 | 🔧 Fix | Verification of ZIP archives fails due to discrepancies in the signature process |
SIGNATURENET-5131 | 🔧 Fix | During the signing process, attempting to sign a password-protected PPTX document encounters limitations |
Major Features
Provide support for single-file archive formats such as GZip and LZip
🌐 We support signing single-file archives such as GZip and LZip in the same manner as standard documents.
/// <summary>
/// Support Succeeded and Failed list as result of processing archives
/// This example demonstrates how to sign an archive document using several SignOptions. You can also sign archives in LZip format
/// </summary>
using (var signature = new Signature("sample.pdf.gz"))
{
// create sign options
var options = new TextSignOptions("signed!")
{
// set signature position
Left = 100,
Top = 100
};
// sign archive to new zip file
SignResult result = signature.Sign("output.pdf.gz", options);
// analyze signed documents
foreach (DocumentResultSignature document in result.Succeeded)
{
Console.WriteLine($"Document {document.FileName}. Processed: {document.ProcessingTime}, mls");
}
if (result.Failed.Count > 0)
{
Console.WriteLine("\nList of failed documents:");
foreach (DocumentResultSignature document in result.Failed)
{
Console.WriteLine($"Document {document.FileName}. Processed: {document.ProcessingTime}, mls");
}
}
}