Is below code correct?
Is it possiable to reference the same document by setReference() method.

how to add these to document object?
I am getting error when i add Anchor  to chunk,pharase,paragraph.


------------------------------
Anchor anchor = new Anchor("this is a link to second");
anchor.setName("LINK");
anchor.setReference("locallinks1.rtf#LINK1");
                
Anchor anchor1 = new Anchor("this is a link to first");
anchor1.setName("LINK1");
anchor.setReference("locallinks1.rtf#LINK");



-----Original Message-----
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2007 3:10 PM
To: Post all your questions about iText here
Cc: [EMAIL PROTECTED]
Subject: Re: [iText-questions] hyper link in RTF to text and Image



On 19.02.2007, at 09:24, Raghu wrote:

> How to add a hyperlink to text and Image in RTF file.
Use the Anchor class.

Greetings,
Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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