Hi Madhu,
Thank you for contacting Syncfusion support.
We have analyzed your requirement “Insert image in the signature field of PDF document” and we can able to achieve this by adding an image to signature field appearance. Please refer the below code snippet for more details,
|
//Gets the first signature field of the PDF document
PdfLoadedSignatureField field = loadedDocument.Form.Fields[0] asPdfLoadedSignatureField;
//Creates a certificate
PdfCertificate certificate = new PdfCertificate(certifcateStream, "syncfusion");
field.Signature = new PdfSignature(loadedDocument, page, certificate, "Signature", field);
PdfBitmap image = new PdfBitmap(imageStream);
field.Signature.Appearance.Normal.Graphics.DrawImage(image, new PointF(0,0));
|
Please try the above solution in your end and let us know if you need any further assistance with this.
Regards,
Sowmiya Loganathan