We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

digital signatures - how can i change icon of a signature and text " valid signature"


I have 2 questions : 

  1. how can I change/control this green valid icon ? 
  2. on the top of the icon, is the text " valid signature ", also, I want to change/control it with another text or remove

I'm using .net core and Syncfusion.Pdf.Net.Core version

Thank you

1 Reply

IJ Irfana Jaffer Sadhik Syncfusion Team March 28, 2023 11:23 AM UTC

We cannot modify the existing digitally signed PDF document appearance, if we do it will tamper the signature.  We can able to customize the signature appearance. 

Please use the below code snippet to achieve the same requirement on your end:

//Creates a new PDF document.

PdfDocument document = new PdfDocument();

//Adds a new page.

PdfPageBase page = document.Pages.Add();

//Create PDF graphics for the page.

PdfGraphics graphics = page.Graphics;

//Creates a certificate instance from PFX file with private key.

PdfCertificate pdfCert = new PdfCertificate(@"PDF.pfx", "password123");

//Creates a digital signature.

PdfSignature signature = new PdfSignature(document, page, pdfCert, "Signature");

//Sets an image for signature field.

PdfBitmap signatureImage = new PdfBitmap(@"signature.png");

//Sets signature information.

signature.Bounds = new RectangleF(0,0,200,100);

signature.ContactInfo = "johndoe@owned.us";

signature.LocationInfo = "Honolulu, Hawaii";

signature.Reason = "I am author of this document.";

//Create appearance for the digital siganture.

signature.Appearance.Normal.Graphics.DrawImage(signatureImage, signature.Bounds);

//Save the document.


//Close the document.


Follow the below links for more information,


Live Chat Icon For mobile
Up arrow icon