Hi!

Just a bit of curiosity about the Anchor class. In the sample code below:

Anchor anchor = new Anchor("this is a link");
anchor.setName("LINK");
anchor.setReference("http://www.lowagie.com";);

What does the setName() method really do? I tried the sample code above and on my pdf 
document it displays "this is a link" 
and when you click the text, the reference "http://www.lowagie.com"; works. Does the 
method setName() only sets the internal 
name and not for displaying on the document?

Kindly advise.

Best regards.

----
Ricky M. Codizar  [EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to