Hello,
I ask user a new page dimension. the user give me that dimension in
centimeters. How can I convert it to the one use by
JaserDesign.setPageWidth and setPageHeight ?
thanks,
--
yves piel
-
Using Tomcat but need to
the user give me that dimension in
centimeters. How can I convert it to the one use by
JaserDesign.setPageWidth and setPageHeight ?
You can try to trasform the dimensions from cm to inch and then multiply
for 72 dpi (dots, or pixels, per inch).
Dimension in pixel = (Dimension_in_cm / 2.54) *