Ruskin Dantra wrote:
> Hi All,
> I have tried looking up the archives but in vain, found a few examples 
> but most of them are so old

The reason why the FREE online examples are so old,
is that I was writing a book about iText.
The book has all the recent and working examples ;-)
http://itext.ugent.be/itext-in-action/

> I use content byte to position my text using an absolute reference on 
> the pdf, what I want to do now is to add an hyperlink to that text.  I 
> suspect that I would use an anchor as that is something you click on to 
> open a new page.

That's explained on p468-469.

> Yes, I have tried having annotations at absolute positions but it 
> doesn't work like I want it to, it shows a little text file icon (which 
> I dont want) and when you click on it, it just opens a baloon (which I 
> don't want either).

You're using the wrong kind of annotation.

> In short all i want to do is add an Anchor to an absolute position on 
> the page, is this at all possible?

Yes, as explained in the book, use methods such as
PdfAnnotation.createLink
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/

Reply via email to