pippolotto Posted October 3, 2017 Share Posted October 3, 2017 Hi all, i must export report to png image, my report has three bands (Title, detail and summary).Title height is 290 pixels.Details height is 270 pixelsSummary height is 460 pixels.The total height is 1020 pixels.In according to the contents the total eight may be greather than 1020 pixel, how i get in my java program the real height at runtime?If i write in java: jasperDesign = JRXmlLoader.load(inputStream);jasperDesign.getPageHeight() -----> this return 1020 and not the real height at runtime Link to comment Share on other sites More sharing options...
szaharia Posted October 3, 2017 Share Posted October 3, 2017 You need to create a JasperPrint object using the JasperReports API. Here is a howto example:http://jasperreports.sourceforge.net/sample.reference/noreport/index.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now