Hello Paulo, I also tried the following code but I got exception.
//================ FileOutputStream obj_fos = new FileOutputStream("C:/newPDF.pdf"); com.lowagie.text.pdf.PdfStamper obj_pdfStamper = new com.lowagie.text.pdf.PdfStamper(obj_pdfReader, obj_fos); com.lowagie.text.pdf.PdfAcroForm obj_pdfAcroForm = obj_pdfStamper.getWriter().getAcroForm(); obj_pdfAcroForm.addSignature(strName, LLX, LLY, URX, URY); obj_pdfStamper.close(); //================= I'm getting following Exception: -------------------------------- java.lang.RuntimeException: Unsupported in this context. Use PdfStamper.addAnnotation() at com.lowagie.text.pdf.PdfStamperImp.addAnnotation(PdfStamperImp.java:811) at com.lowagie.text.pdf.PdfAcroForm.addFormField(PdfAcroForm.java:156) at com.lowagie.text.pdf.PdfAcroForm.addSignature(PdfAcroForm.java:697) Regards, Faisal ----- Original Message ----- From: "Paulo Soares" <[EMAIL PROTECTED]> To: "Faisal Maqsood" <[EMAIL PROTECTED]>; <itext-questions@lists.sourceforge.net> Sent: Friday, May 20, 2005 9:41 PM Subject: RE: [iText-questions] Adding Blank Signature Field gives problem Use PdfStamper and you cannot use the same name for input and output. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions