> 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) * 72 Vincenzo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions