Hi!

I'm trying to absolute positioning objects.
I read the examples, but i have problems.

Example:
I want to print a line, 22 mm from the left side of the page.

1mm = 2.83 pixel, so it's 62,26 = 62 pixel

I use this function:
cb.showTextAligned(PdfContentByte.ALIGN_LEFT, (String) 
mezok.elementAt(0), 62, eltolas, 0);

By printing the result is 26 mm from the left side.

Does anyone have an answer to this problem?  Thank you.

Gabor

_______________________________________________________________________
[freemail] extra 1GB-os postafiókkal, Önnek már van? http://freemail.hu




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to