Subject: PdfImportedSignatureField Draw Signature
Date: 2013-06-26 19:02:13
From: Armando secret
Source: pdfimportedsignaturefield-draw-signature
----------------------------------------------------------------------

Hello,

I'm trying to sign an existing signature field in a PDF. I can successfully open the document and find the field. I then use the following PdfDigitalSignature contructor to create a signature for the field:

[code lang='c#']public PdfDigitalSignature(PdfDocumentBase document, PdfPageBase page, PdfCertificate certificate, string signatureName, PdfImportedSignatureField loadedField)[/code]
 
If I then save the document, everything works, but the signature is empty since I have not drawn anything on it.
 
Now when I try to draw the signature using the Appereance property of the signature, I get a reference null exception. How can I draw a signature on an existing signature field?
 
Thank you
---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index