Create Visible digital signature in PDF starts to be supported in Spire.PDF 2.9.7

We proudly present the release announcement for Spire.PDF for .NET 2.9.7. By the efforts of our develop team, we have made the improvements of the performance of saving PDF as images. We also add a new feature of create visible digital signature in PDF file.

Please check the code snippet of the new feature of create visible digital signature in PDF file:

PdfDocument doc = new PdfDocument("D:\\test.pdf");
PdfCertificate cert = new PdfCertificate("D:\\Demo.pfx", "e-iceblue");
var signature = new PdfSignature(doc, doc.Pages[0], cert, "Requestd1");
signature.Bounds = new RectangleF(new PointF(280, 600), new SizeF(260, 90));
signature.IsTag = true;

signature.DigitalSignerLable= "Digitally signed by";
signature.DigitalSigner = "Harry Hu for Tests";

signature.DistinguishedName = "DN: ";
signature.LocationInfoLabel = "Location: ";
signature.LocationInfo = "London";

signature.ReasonLabel = "Reason: ";
signature.Reason = "Le document est certifie";

signature.DateLabel = "Date: ";
signature.Date = DateTime.Now;

signature.ContactInfoLabel = "Contact: ";
signature.ContactInfo = "123456789";

signature.Certificated = false;

signature.ConfigGraphicType = ConfiguerGraphicType.Picture;
signature.ConfiguerGraphicPath = "D:\\sign.png";

signature.DocumentPermissions = PdfCertificationFlags.ForbidChanges;

doc.SaveToFile("sample.pdf");

Experience and Test the new pack version at first here:

http://www.e-iceblue.com/Download/download-pdf-for-net-now.html