Hi!

Sometimes I have problem to set the bounds of an PdfContentByte

For every block I do the following. 
cb.beginText(); // PdfContentByte
ColumnText  ct = new ColumnText( cb );
ct.setSimpleColumn( x , y , x + block.getWidth(), y + block.getHeight() , 0,
Element.ALIGN_RIGHT );

I the create a table some cells and put the table in the ColumnText

Sometimes the content is outside the  bound. The rectangle always places
right in height but very often it is wrong in the width x coordinate. What
is the 0 position of IText. It seems that it is different in different pdf
files.

I use a stamper to put content over some old content.


-- 
View this message in context: 
http://www.nabble.com/Problem-with-x%2C-y-for-a-block-tp19509381p19509381.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to