It is embedded in the document, but clicking doesnt anything ----- Ursprüngliche Mail ----- Von: "Mark Storer" <[email protected]> An: "Post all your questions about iText here" <[email protected]> Gesendet: Donnerstag, 30. Dezember 2010 00:24:49 Betreff: Re: [iText-questions] Add reference in text to attached file
What do you mean by "not linked"? Not embedded in the document (just the file name, not the file itself), or "clicking doesn't do anything", or what? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; > -----Original Message----- > From: Sebastian Müller [mailto:[email protected]] > Sent: Wednesday, December 29, 2010 2:39 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Add reference in text to attached file > > Thanks again, > > Now I use this code: > > PdfFileSpecification specification = > PdfFileSpecification.FileEmbedded(writer, name, name, null); > PdfAnnotation annotation = > PdfAnnotation.CreateFileAttachment(writer, new > iTextSharp.text.Rectangle(100, 200), "Link", specification); > chapter1.Add(annotation); > > This adds the file to the document, and also writes the > filename to the document, but it's not linked. > > ----- Ursprüngliche Mail ----- > Von: "1T3XT BVBA" <[email protected]> > An: [email protected] > Gesendet: Mittwoch, 29. Dezember 2010 18:16:31 > Betreff: Re: [iText-questions] Add reference in text to attached file > > Op 29/12/2010 18:11, Sebastian Müller schreef: > > Thanks a lot, unfortunately I haven't yet received my book, > so I'll have to wait a few days to try it. > You can always try the examples on the site: > http://1t3xt.be/?280 The example you need is http://1t3xt.be/?113 > > > -------------------------------------------------------------- > ---------------- > Learn how Oracle Real Application Clusters (RAC) One Node > allows customers to consolidate database storage, standardize > their database environment, and, should the need arise, > upgrade to a full multi-node Oracle RAC database without > downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > 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 > > -- > Sebastian > > -------------------------------------------------------------- > ---------------- > Learn how Oracle Real Application Clusters (RAC) One Node > allows customers to consolidate database storage, standardize > their database environment, and, should the need arise, > upgrade to a full multi-node Oracle RAC database without > downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > 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 > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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 -- Sebastian ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
