Op 19/05/2011 17:09, karthik B schreef:
> Hi,
> I tried with the rectangle. It is perfectly matching with the inedisgn 
> coordinates and my calculation to render.
OK, now that you're sure about the coordinates of the rectangle, use 
those coordinates in combination with ColumnText.

ColumnText ct = new ColumnText(writer.getDirectContent());
ct.setSimpleColumn(x1, y1, x2, y2);
ct.addText(new Phrase("Sample"));
ct.go();

Or something like that, I wrote this from memory, you should check 
chapter 3 of the book for the correct syntax.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to