[jasperreports-questions] convert cm - point

2006-09-13 Thread yves pielusenet
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

Re: [jasperreports-questions] convert cm - point

2006-09-13 Thread Vincenzo Manzoni
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) *