Anchors in PdfPTable and ColumnText are done with Chunk.setAnchor().

Best Regards,
Paulo Soares

> -----Original Message-----
> From: gopaluni subramanyam [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, February 21, 2003 14:54
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Adding Anchor to table Cell
> 
> hello sir,
> 
> How are you?
> 
> 
> Question: I want to add an anchro to table cell?
> 
> Right now i am doing like this
> 
> paragraph = new Paragraph(" ");
> Anchor anchor1 = new Anchor(sName.trim(), new
> Font(2,7,0));
> anchor1.setReference("http://www.lowagie.com/iText/";);
> anchor1.setName(sName.trim());
> paragraph.add(anchor1);
> PCell   = new  PdfPCell(paragraph);
> PCell.setBorder(0);
> table.addCell(PCell);
> 
> Here "sName" value is coming from database. When i am
> doing like above, i can able see the text part (the
> value of sName) in the table cell, but i am not
> getting the anchor.
> 
> Please suggest some alternative.
> 
> regards
> subrahmanyam
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> 
> -------------------------------------------------------
> 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


-------------------------------------------------------
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