Hi,

for the problem with the image, try something like that:
            Image image = Image.getInstance(...);
            image.setAlignment(Image.TEXTWRAP | Image.RIGHT);
            image.scalePercent(50);
            Chunk chunkImage = new Chunk(image_logo, 0, (-1) *
image.scaledHeight());
            Phrase phrase = new Phrase(chunkImage);
I think, if you put the Image into a chunk the handling is easier.

If you don't want borders in the next cell you'll add to the table:
table.getDefaultCell().setBorderWidth(0);

Hope that helps....



Buland Altaf schrieb:
>  Hi -
>
> I am usinf Itext to create PDF on fly (in web application). I am new
> bie in it and wondering if you can help me in telling either Itext is
> good enough to create a pdf like an attached template.
>
> Actually, I am using PDFPTable & PDFPCell but adding images in it is a
> big problem as its taking all the left space in the cell (i want them
> to appear with specific width/height)
>
> If i don't want to see teh table border, what steps i need to do ?
>
> I really appricitae your effort in this regard.
>
> Regards,
>
> Buland
>
>  
>
> "Little knowledge of Science takes you away from ALLAH and indepth
> knowledge of Science makes you a beleiver in GOD/ALLAH"
>
>
>
> ------------------------------------------------------------------------
> The fish are biting.
> Get more visitors
> <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>
> on your site using Yahoo! Search Marketing.
> <http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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/
>   

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