Aritz, Aritz_85 wrote > When attachments have no appearance, just created as > PdfAnnotation.createFileAttachment, it displays a 'tack' icon, > But building my own appearance, I would like to add a custom image.
PdfAnnotation has the instance method setAppearance which allows to set a given PdfTemplate as the annotation's appearance for a given name. Thus, design your own PdfTemplate and make it the normal appearance of your file attachment annotation. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-After-Singning-PDF-tp4660402p4660409.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php