In daily, people have various reasons to sign a PDF document considering keeping document more secure or helping to authenticate it. For instance, you would like to use a handy tool or software to sign PDF with both image and text signatures rather than use scanner & printer to manipulate step by step. Or you may need to guarantee that PDF document has not been tampered with or forged during be transmitted in business case. PDF document will be strictly signed and authenticated during transmission.
What is the best way to insert image and text signatures together into a PDF document? How does your signature on PDF looks natural, like your real handwritten one? No doubt that Adobe Acrobat Pro is a good software for common users to add text and image signatures to PDF file. But if you are developing a .NET windows or web application in C# programming language and wants to integrate mature PDF signing features, you can try to use our .NET PDF signer library. This .NET library can be easily added to your application and all its mature features can help you insert efficient and natural image and text signatures to PDF document.
Insert Image & Text Signatures Together to PDF in C#
If you’re looking for an easy way to insert image and text signatures together to PDF file for C# application development, download our free trial, add PDF signature library dll to VS project reference, and check out the following C# sample code. You are also allowed to customize created signatures, like certificate format, signature algorithm, content, location, etc.
//Load the pfx certificate file with password PdfCertificate cert = new PdfCertificate("demo.pfx", "your-password"); PdfSigner signer = new PdfSigner("demo.pdf", cert); //Input the image file showing as signature signer.SignatureImagePath = "demo.jpg"; //Input the signature info signer.ContactInfo = "your contact information"; signer.Location = "your location"; signer.Reason = "your reason"; signer.FieldName = "XsPDF Sign"; signer.PageId = 0; signer.Rect = new Rectangle(100, 100, 100, 50); signer.SignatureAlgorithm = SignatureAlgorithm.SHA256; //Set signature appearance to image and text style signer.SignatureShowingType = SignatureShowingType.ImageAndDescription; signer.Sign("sign.pdf");
More Excel tutorial
- Outline generating to PDF in CSharp .NET is quite easy and quick using XsPDF Library for .NET
- Make EAN-128 to PDF in C#
- How to render PDF document to rasterized tif in ASP.NET program using Visual Studio .NET framework
- Diagram inserting to PDF using PDF Chart Control
- Ellipse inserted to PDF document - .NET sample code