GroupDocs.Signature 20.5.0

GroupDocs.Signature for .NET is a feature rich library which provides an ability to add stamps, barcodes and QR-codes, text, image, metadata, form field and digital signatures to documents of various formats like PDF, DOCX/DOC, PPTX/PPT, XLSX/XLS, VSDX/VSD, JPG, PNG, TIFF, HTML and many others.
Sign, create, search, verify document signatures for all popular document formats and set different signing options to suit your needs with GroupDocs.Signature for .NET API.

Features:
   * Document signatures
       - Digital - signatures based on a certificate file (supported by PDF, Spreadsheet, Words formats);
       - Barcode - adds barcode to document pages (over 60+ different types)
           * PostCodes;
           * Codabar;
           * Code128;
           * Code16K;
           * Code39;
           * Databar;
           * EAN;
           * ISBN;
           * VIN and others.
       - QR-code - adds QR-code to document pages with ability to embed encrypted data into QR-code
           * Aztec;
           * DataMatrix;
           * QR;
           * GS1DataMatrix;
           * GS1QR.
       - Metadata - inserts any data types as hidden document content in a document metadata in a dictionary manner with unique key;
       - Text - different type of text object like text stamp, labels, annotations, watermarks ;
       - Image - places an image to document page;
           * Text as image;
           * Image - various graphics, figures and polylines.
       - Stamp - adds various kind of stamps to document as different stamp shapes circle or rectangle;
       - Form Field - fills document form fields with provided data (for PDF documents only).
   * Search - returns a list of document signatures
       - Digital signatures for Pdf, Spreadsheet, Word documents;
       - Barcodes in all supported document types;
       - QR-codes in all supported document types with ability to decrypt embedded data into any object
       - Metadata signatures in all supported document types;
       - Form-field signatures in all supported document types.
   * Verify - checks that document contains signatures that meet the specified criteria. Supported signature types:
       - Text;
       - Digital;
       - Barcode;
       - QR-code.
   * Update - updates signatures in the documents. Supported signature types:
       - Text;
       - Image;
       - Barcode;
       - QR-code.
   * Delete - removes signatures from the documents. Supported signature types:
       - Text;
       - Image;
       - Barcode;
       - QR-code.
   * Styling - wide settings range for visualization effects such as text and image opacity, colors, fonts, rotation and other effects;
   * Document basic information - basic metadata for provided source document (size, page count, file type, created/modified dates etc.).

Supported document formats:
   * Portable Document Formats - PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a)
   * Microsoft Word documents - DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF
   * Microsoft Excel spreadsheets - XLS, XLSX, XLSM, XLSB,
   * Microsoft PowerPoint presentations - PPT, PPTX, PPS, PPSX, PPTM, POTX, POTM, PPSM;
   * Open Document formats - ODT, OTT, ODS, OTS, ODP, OTP;
   * Image - TIFF, TIF, JPG, JPEG, PNG, GIF, BMP, ICO, JP2, J2C, J2K, JPF, JPX, JPM, WMF, EMF, WEBP, PSD;

For more details on the GroupDocs.Signature for .NET API, please visit product website at:
https://products.groupdocs.com/signature/net

Note: GroupDocs.Signature for .NET will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

There is a newer version of this package available.
See the version list below for details.
Install-Package GroupDocs.Signature -Version 20.5.0
dotnet add package GroupDocs.Signature --version 20.5.0
<PackageReference Include="GroupDocs.Signature" Version="20.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Signature --version 20.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET API for Document Signature

This on-premise .NET API lets your app end-users sign the electronic documents from a wide range of file formats. Supports several types of e-signing methods.

Document Signature Processing Features

  • Create and add signatures to documents of various file formats.
  • Specify visual attributes of signatures, such as, color, font, margins etc.
  • Search and fetch list of signatures from a document.
  • Determine if the document contains signatures meeting a specified criteria.
  • Extract basic information about the document.
  • Generate image representation of document pages for preview.
  • Distinguish created signatures from the actual document.
  • Put encrypted text into QR-code signature or embed custom data objects.

New Features in Version 20.5

  • Implemented support of digitally signing the presentation document types.
  • Implemented support of digital signature verification for presentation document types.
  • Implemented support of digital signature search for presentation document types.
  • Implemented Metadata values convertion across various types.

Enhancements in Version 20.5

  • Implemented property XAdES for Digital Signature.
  • Set up additional properties for digital signatures in SignResult.
  • Implemented support of XAdES signatures for Spreadsheet documents for .Net Standard.
  • Update using Transparency property of Text and Image Options.

Removed Features in Version 20.5

  • Removed support of signing .PSD files.

Public API and Backward Incompatible Changes

  • Public class DigitalSignature is updated with new properties and ability to set XAdES type. Supported only for Spreadsheet documents.
  • Public class MetadataSignature is updated with new conversion methods to retrieve its values with various data types.
  • Public class PdfDigitalSignature property string Authority is marked as obsolete and will be removed since 20.9 version.

For the detailed notes, please visit GroupDocs.Signature for .NET 20.5 Release Notes.

Signature Supported Formats

The following section lists the supported file formats for the barcode, image, QR-code, stamp, and text signature types:
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
Microsoft PowerPoint: PPTX, PPTM, PPT, PPSX, PPSM, PPS, POTX, POTM
OpenOffice: ODT, OTT, ODS, OTS, ODP, OTP
Image: BMP, GIF, JPG, JPEG, PNG, SVG, TIF, TIFF, WEBP
CorelDraw: CDR, CMX
Photoshop: PSD
eBook: DJVU
Metafile: WMF
Portable: PDF

Digital Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
OpenOffice: ODS, OTS
Portable: PDF

FormField Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
OpenOffice: ODS, OTS, ODP
Portable: PDF

Metadata Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
Microsoft PowerPoint: PPTX, PPTM, PPT, PPSX, PPSM, PPS, POTX, POTM
OpenOffice: ODT, OTT, ODS, OTS, ODP, OTP
Image: JPG, JPEG, PNG, SVG, TIF, TIFF
Photoshop: PSD
Portable: PDF

Supported Signature Types

  • Text stamps
  • Text labels
  • Text as image signature
  • Image signature
  • Digital signature
  • Barcode signature
  • QR-code signature
  • Metadata signature
  • Form-field signature

Platform Independence

GroupDocs.Signature for .NET does not require any external software or third party tool to be installed. GroupDocs.Signature for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.

Getting Started with GroupDocs.Signature for .NET

Are you ready to give GroupDocs.Signature for .NET a try? Simply execute Install-Package GroupDocs.Signature from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Signature assembly in your project. If you already have GroupDocs.Signature for .Net and want to upgrade it, please execute Update-Package GroupDocs.Signature to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Sign a PDF File and Save it in DOCX Format using C# Code

using (Signature signature = new Signature("sample.pdf"))
{
    // create QRCode option with predefined QRCode text
    QRCodeSignOptions signOptions = new QRCodeSignOptions("JohnSmith")
    {
        EncodeType = QRCodeTypes.QR,
        Left = 100,
        Top = 100
    };
    PdfSaveOptions pdfSaveOptions = new PdfSaveOptions()
    {
        FileFormat = PdfSaveFileFormat.DocX,
        OverwriteExistingFiles = true
    };
    // sign document to file
    signature.Sign("SignedPdf.docx", signOptions, pdfSaveOptions);
}

Use C# to Search and Delete Signatures from DOCX File

// initialize Signature instance
using (Signature signature = new Signature("signed.docx"))
{
    BarcodeSearchOptions options = new BarcodeSearchOptions();
    List<BarcodeSignature> signatures = signature.Search<BarcodeSignature>(options);
    List<BaseSignature> signaturesToDelete = new List<BaseSignature>();
    // collect signatures to delete
    foreach (BarcodeSignature temp in signatures)
    {
        if (temp.Text.Contains("John"))
        {
            signaturesToDelete.Add(temp);
        }
    }
    // delete signatures
    DeleteResult deleteResult = signature.Delete(signaturesToDelete);
    if (deleteResult.Succeeded.Count == signaturesToDelete.Count)
    {
        Console.WriteLine("All signatures were successfully deleted!");
    }
    else
    {
        Console.WriteLine($"Successfully deleted signatures : {deleteResult.Succeeded.Count}");
        Console.WriteLine($"Not deleted signatures : {deleteResult.Failed.Count}");
    }
    Console.WriteLine("List of deleted signatures:");
    foreach (BaseSignature temp in deleteResult.Succeeded)
    {
        Console.WriteLine($"Signature# Id:{temp.SignatureId}, Location: {temp.Left}x{temp.Top}. Size: {temp.Width}x{temp.Height}");
    }
}

Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License

.NET API for Document Signature

This on-premise .NET API lets your app end-users sign the electronic documents from a wide range of file formats. Supports several types of e-signing methods.

Document Signature Processing Features

  • Create and add signatures to documents of various file formats.
  • Specify visual attributes of signatures, such as, color, font, margins etc.
  • Search and fetch list of signatures from a document.
  • Determine if the document contains signatures meeting a specified criteria.
  • Extract basic information about the document.
  • Generate image representation of document pages for preview.
  • Distinguish created signatures from the actual document.
  • Put encrypted text into QR-code signature or embed custom data objects.

New Features in Version 20.5

  • Implemented support of digitally signing the presentation document types.
  • Implemented support of digital signature verification for presentation document types.
  • Implemented support of digital signature search for presentation document types.
  • Implemented Metadata values convertion across various types.

Enhancements in Version 20.5

  • Implemented property XAdES for Digital Signature.
  • Set up additional properties for digital signatures in SignResult.
  • Implemented support of XAdES signatures for Spreadsheet documents for .Net Standard.
  • Update using Transparency property of Text and Image Options.

Removed Features in Version 20.5

  • Removed support of signing .PSD files.

Public API and Backward Incompatible Changes

  • Public class DigitalSignature is updated with new properties and ability to set XAdES type. Supported only for Spreadsheet documents.
  • Public class MetadataSignature is updated with new conversion methods to retrieve its values with various data types.
  • Public class PdfDigitalSignature property string Authority is marked as obsolete and will be removed since 20.9 version.

For the detailed notes, please visit GroupDocs.Signature for .NET 20.5 Release Notes.

Signature Supported Formats

The following section lists the supported file formats for the barcode, image, QR-code, stamp, and text signature types:
Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
Microsoft PowerPoint: PPTX, PPTM, PPT, PPSX, PPSM, PPS, POTX, POTM
OpenOffice: ODT, OTT, ODS, OTS, ODP, OTP
Image: BMP, GIF, JPG, JPEG, PNG, SVG, TIF, TIFF, WEBP
CorelDraw: CDR, CMX
Photoshop: PSD
eBook: DJVU
Metafile: WMF
Portable: PDF

Digital Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
OpenOffice: ODS, OTS
Portable: PDF

FormField Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
OpenOffice: ODS, OTS, ODP
Portable: PDF

Metadata Signature Supported Formats

Microsoft Word: DOC, DOCM, DOCX, DOT, DOTM, DOTX
Microsoft Excel: XLSX, XLS, XLSB, XLSM, XLTX, XLTM
Microsoft PowerPoint: PPTX, PPTM, PPT, PPSX, PPSM, PPS, POTX, POTM
OpenOffice: ODT, OTT, ODS, OTS, ODP, OTP
Image: JPG, JPEG, PNG, SVG, TIF, TIFF
Photoshop: PSD
Portable: PDF

Supported Signature Types

  • Text stamps
  • Text labels
  • Text as image signature
  • Image signature
  • Digital signature
  • Barcode signature
  • QR-code signature
  • Metadata signature
  • Form-field signature

Platform Independence

GroupDocs.Signature for .NET does not require any external software or third party tool to be installed. GroupDocs.Signature for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.

Getting Started with GroupDocs.Signature for .NET

Are you ready to give GroupDocs.Signature for .NET a try? Simply execute Install-Package GroupDocs.Signature from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Signature assembly in your project. If you already have GroupDocs.Signature for .Net and want to upgrade it, please execute Update-Package GroupDocs.Signature to get the latest version.

Please check the GitHub Repository for other common usage scenarios.

Sign a PDF File and Save it in DOCX Format using C# Code

using (Signature signature = new Signature("sample.pdf"))
{
    // create QRCode option with predefined QRCode text
    QRCodeSignOptions signOptions = new QRCodeSignOptions("JohnSmith")
    {
        EncodeType = QRCodeTypes.QR,
        Left = 100,
        Top = 100
    };
    PdfSaveOptions pdfSaveOptions = new PdfSaveOptions()
    {
        FileFormat = PdfSaveFileFormat.DocX,
        OverwriteExistingFiles = true
    };
    // sign document to file
    signature.Sign("SignedPdf.docx", signOptions, pdfSaveOptions);
}

Use C# to Search and Delete Signatures from DOCX File

// initialize Signature instance
using (Signature signature = new Signature("signed.docx"))
{
    BarcodeSearchOptions options = new BarcodeSearchOptions();
    List<BarcodeSignature> signatures = signature.Search<BarcodeSignature>(options);
    List<BaseSignature> signaturesToDelete = new List<BaseSignature>();
    // collect signatures to delete
    foreach (BarcodeSignature temp in signatures)
    {
        if (temp.Text.Contains("John"))
        {
            signaturesToDelete.Add(temp);
        }
    }
    // delete signatures
    DeleteResult deleteResult = signature.Delete(signaturesToDelete);
    if (deleteResult.Succeeded.Count == signaturesToDelete.Count)
    {
        Console.WriteLine("All signatures were successfully deleted!");
    }
    else
    {
        Console.WriteLine($"Successfully deleted signatures : {deleteResult.Succeeded.Count}");
        Console.WriteLine($"Not deleted signatures : {deleteResult.Failed.Count}");
    }
    Console.WriteLine("List of deleted signatures:");
    foreach (BaseSignature temp in deleteResult.Succeeded)
    {
        Console.WriteLine($"Signature# Id:{temp.SignatureId}, Location: {temp.Left}x{temp.Top}. Size: {temp.Width}x{temp.Height}");
    }
}

Product Page | Documentation | Demo | API Reference | Examples | Blog | Free Support | Temporary License

Release Notes

https://docs.groupdocs.com/display/signaturenet/GroupDocs.Signature+for+.NET+20.5+Release+Notes

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.6.0 118 7/1/2020
20.5.0 202 5/31/2020
20.4.0 444 4/30/2020
20.3.0 323 3/31/2020
20.2.0 236 2/29/2020
20.1.0 203 2/3/2020
19.12.1 195 1/10/2020
19.12.0 127 12/30/2019
19.10.0 356 10/31/2019
19.9.0 129 9/30/2019
19.8.0 201 8/23/2019
19.6.0 516 6/27/2019
19.5.0 472 5/30/2019
19.4.0 201 4/30/2019
19.3.0 235 3/30/2019
18.7.1 416 8/1/2018
18.7.0 356 7/30/2018
18.6.0 517 6/20/2018
18.5.0 328 5/30/2018
18.3.0 431 3/21/2018
18.2.0 462 2/19/2018
18.1.1 409 1/22/2018
18.1.0 418 1/21/2018
17.12.0 404 12/7/2017
17.11.0 404 11/7/2017
17.10.0 380 10/3/2017