GroupDocs.Signature for .NET is a native .NET API to digitally sign documents using various signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. Users can easily add, edit, verify, remove and find digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats with additional support for customizing signature properties as needed.
GroupDocs.Signature makes it easy for .NET developers to edit digital signatures from PDF files within their applications by implementing a few easy steps.
GroupDocs.Signature for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
using (Signature signature = new Signature("sampleSigned.pdf"))
{
TextSearchOptions options = new TextSearchOptions();
// search for text signatures in document
List signatures = signature.Search(options);
if(signatures.Count > 0)
{
TextSignature textSignature = signatures[0];
// change Text property
textSignature.Text = "John Walkman";
// change position
textSignature.Left = textSignature.Left + 10;
textSignature.Top = textSignature.Top + 10;
// change size. Please note not all documents support changing signature size
textSignature.Width = 200;
textSignature.Height = 100;
bool result = signature.Update(textSignature);
if(result)
{
Console.WriteLine($"Signature with Text '{textSignature.Text}' was updated in the document ['{fileName}'].");
}
else
{
Console.WriteLine($"Signature was not updated in the document! Signature with Text '{textSignature.Text}' was not found!");
}
}
}
Edit signatures in PDF files right now by visiting GroupDocs.Signature Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
Portable Document Format (PDF) is a type of document created by Adobe back in 1990s. The purpose of this file format was to introduce a standard for representation of documents and other reference material in a format that is independent of application software, hardware as well as Operating System. PDF files can be opened in Adobe Acrobat Reader/Writer as well in most modern browsers like Chrome, Safari, Firefox via extensions/plug-ins. Most of the commercially available software suites also offer conversion of their documents to PDF file format without the requirement of any additional software component. Thus, PDF file format has full capability to contain information like text, images, hyperlinks, form-fields, rich media, digital signatures, attachments, metadata, Geospatial features and 3D objects in it that can become as part of source document.
Read More About PDF File FormatMulti format documents and images signatures editing API for .NET. Update signatures from some of the popular file formats as stated below.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Word Open XML Document Template)
(Microsoft Word Macro-Enabled Template)
(Rich Text Document)
(Open Document Text)
(OpenDocument Text Template)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(Microsoft Excel Binary Worksheet)
(Microsoft Excel template)
(Microsoft Excel macro-enabled template)
(Open Document Spreadsheet)
(OpenDocument Spreadsheet Template)
(PowerPoint Presentation)
(PowerPoint Open XML Presentation)
(Microsoft PowerPoint 97-2003 Slide Show)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Macro-Enabled Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(OpenDocument Presentation)
(OpenDocument Presentation Template)
(WebP Image)
(Tagged Image File Format)
(JPEG Image)
(Graphics Interchange Format)
(Portable Network Graphic)
(Bitmap File Format)
(CorelDraw Vector Graphic Drawing)
(Scalable Vector Graphics)
(Adobe Photoshop Document)
(Windows Metafile)
(Enhanced Metafile Format)
(Corel Metafile eXchange Image)
(Deja Vu)
(Microsoft PowerPoint Macro-Enabled Slide Show)
(Digital Imaging and Communications in Medicine)