It's not pixel and you can use 62.26 for extra precision. The problem is the printer. If you measure the distance in the screen everything is correct but the printers have all kind of margin offsets and tolerances.
----- Original Message ----- From: "ddccpp ..." <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, August 08, 2005 5:52 PM Subject: [iText-questions] absolute positioning 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 ------------------------------------------------------- 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
