Shivakumar B wrote:
I saw the PdfCopy Sample
Look for the PdfStamper example instead.
PdfCopy doesn't allow you to change the content.
br,
Bruno
---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for
Already answered in the bug tracker but just for completeness:
PdfReader pdf = new PdfReader("in.pdf");
PdfStamper stp = new PdfStamper(pdf, new FileOutputStream("out.pdf"));
PdfFormField sig = PdfFormField.createSignature(stp.getWriter());
sig.setWidget(new Rectangle(100, 100, 200, 200), null);
s