Jump to content
Changes to the Jaspersoft community edition download ×

Calculate report's width and height at runtime


pippolotto

Recommended Posts

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 pixels

Summary 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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...