1 millimeter = 0.0393700787 inch = 25.4 millimeters per inch

72 points in an inch

72 / 25.4 = 2.8346 points in a millimeter

25.4 / 72 = .35277 millimeters in a point

example:
image is 30mm from top and 50mm from left
image is 85pts from top and 141pts from left.


I think I have done my math right, if I haven't, at least you see how the
conversion works

Hope this helps
Bill Ensley
Bear Printing

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Koen
Swolfs
Sent: Wednesday, March 24, 2004 7:25 AM
To: Help iText
Subject: [iText-questions] Positioning images based on millimeters


Hello,

I would like to add some images (jpg files) to a pdf document, it is very
important in this case that the jpg files are well positioned on the page
(at millimeter level!).  For example: I would like to position image1 at
30mm from the top of the page and 50mm from the left of the page.  Is there
a way to position the image based on millimeters, instead of x- and
y-coordinates?  Or how can I convert x- and y-coordinates to millimeters?

Any help is appreciated!

Koen.

---
[This E-mail scanned for viruses by Declude Virus]



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to