GroupDocs.Signature 22.7.0

.NET Standard 2.0 .NET Framework 4.0
Install-Package GroupDocs.Signature -Version 22.7.0
dotnet add package GroupDocs.Signature --version 22.7.0
<PackageReference Include="GroupDocs.Signature" Version="22.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Signature --version 22.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GroupDocs.Signature, 22.7.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GroupDocs.Signature as a Cake Addin
#addin nuget:?package=GroupDocs.Signature&version=22.7.0

// Install GroupDocs.Signature as a Cake Tool
#tool nuget:?package=GroupDocs.Signature&version=22.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET API for Document Signature

Version 22.7.0 Nuget

banner

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

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 a list of signatures from a document.
  • Determine if the document contains signatures meeting 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 the QR-code signature or embed custom data objects.

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, DJVU, GIF, JPG, JPEG, PNG, SVG, TIF, TIFF, WEBP
CorelDraw: CDR, CMX
Photoshop: PSD
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 an 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.

Get Started

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 a 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 | Docs | Demo | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.7.0 287 7/31/2022
22.6.0 383 6/30/2022
22.4.0 1,568 4/6/2022
21.11.0 2,263 12/1/2021
21.9.0 3,171 9/30/2021
21.7.0 1,956 8/1/2021
21.6.0 1,333 6/29/2021
21.4.0 1,309 5/3/2021
21.3.0 1,314 3/31/2021
21.1.0 4,175 1/28/2021
20.11.0 1,964 11/30/2020
20.10.0 2,026 11/2/2020
20.9.0 1,622 9/30/2020
20.8.0 1,475 9/1/2020
20.7.0 1,456 8/2/2020
20.6.0 2,789 7/1/2020
20.5.0 2,093 5/31/2020
20.4.0 2,922 4/30/2020
20.3.0 1,952 3/31/2020
20.2.0 2,187 2/29/2020
20.1.0 1,475 2/3/2020
19.12.1 833 1/10/2020
19.12.0 1,146 12/30/2019
19.10.0 1,136 10/31/2019
19.9.0 421 9/30/2019
19.8.0 514 8/23/2019
19.6.0 839 6/27/2019
19.5.0 994 5/30/2019
19.4.0 505 4/30/2019
19.3.0 555 3/30/2019
18.7.1 873 8/1/2018
18.7.0 812 7/30/2018
18.6.0 943 6/20/2018
18.5.0 781 5/30/2018
18.3.0 935 3/21/2018
18.2.0 968 2/19/2018
18.1.1 902 1/22/2018
18.1.0 910 1/21/2018
17.12.0 883 12/7/2017
17.11.0 864 11/7/2017
17.10.0 839 10/3/2017