I need to position texts and lines in determined positions (measured in cms.). I have had a look on the page http://www.lowagie.com/iText/tutorial/ch01.html <http://www.lowagie.com/iText/tutorial/ch01.html> Margins Section, in particular about how to convert from cms into points and, for instance, i want to draw to horizontal lines one 2 cms. further than the other: 2cm / 2.54 = 0.7874 inch 0.7874 * 72 = 57 points (56.6928) cb.moveTo(300, 700); cb.lineTo(400, 700); cb.moveTo(300, 700 + 56.69f); cb.lineTo(400, 700 56.69f); I generate the PDF, print it and take a rule to measure the distance between the two lines ... it measures less than 1.8 cm What did i do wrong? And it's the same if i use an empty constructor for Document or with parameters If this has already been answered, please tell me more or less the data Thanks a lot Regards Sergio P.S (Off Topic): In the page http://www.lowagie.com/iText/tutorial/ch01.html <http://www.lowagie.com/iText/tutorial/ch01.html> the link titled "page <http://www.lowagie.com/iText/tutorial/firstpage> initialisations" ( http://www.lowagie.com/iText/tutorial/firstpage <http://www.lowagie.com/iText/tutorial/firstpage> ) doesn't work
----------------------------------------------------------------------- Este mensaje y los documentos, que en su caso, lleve anexos, pueden contener informacion confidencial y ataņe exclusivamente a las personas a las que va dirigido. Cualquier opinion en el contenida, es exclusiva de su autor y no representa necesariamente la opinion de AZERTIA. Si usted no es el destinatario de este mensaje, considerese advertido de que lo ha recibido por error y que cualquier uso, difusion o copia estan prohibidos legalmente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique por la misma via o al telefono 93 207 55 11 y proceda a destruirlo inmediatamente. This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of AZERTIA. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify it to AZERTIA by telephone on number +34 93 207 55 11. ----------------------------------------------------------------------- _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions