Michael Marcavage wrote:
1) Is it possible to attach any file to a PDF
Yes.
2) If this is possible, can you give me sample code on how to do this
See http://www.lowagie.com/itextwiki/doku.php/collections It's about much more than file attachments, but I think it will interest you. (Didn't you write an article about iText once?) But if you want the quick answer: Attachments added to a page as a clickable annotation: use PdfAnnotation.createFileAttachment() Attachments that aren't visible as annotation (but that are attached to the PDF document): use PdfWriter.addFileAttachment() br, Bruno
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
