Hi all, i have created a pdf with OpenOffice. In this pdf i have a graphical controlfield with an image. Is it possible to change this image with iText after? Can someone give me a detailed explanation?
I tried this: ... stamp.setFormFlattening(true); PdfWriter writer = stamp.getWriter(); writer.getAcroForm(); PdfContentByte cb = writer.getDirectContent(); Image imSign = Image.getInstance("effipack2.jpg"); imSign.setAbsolutePosition(20, 20); cb.addImage(imSign); ... In this case a get an DocumentException when i try to add the image. The position 20,20 is only a test value and not the exact position of my graphical controlfield. Thx a lot ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions