elainetmy Posted July 22, 2013 Share Posted July 22, 2013 Hi,I would like to ask is it possible to have a dynamic height of the JasperDesign?Or possible to dynamic create new page if the first page of report is fully occupied?Thanks.Elaine Link to comment Share on other sites More sharing options...
elainetmy Posted July 23, 2013 Author Share Posted July 23, 2013 I figured out! You just have to fix the height of certain band. Jasper report itself will auto create a new page if the page is fully occupied.If I understood wrongly, please feel free to correct me. Thanks.Elaine Link to comment Share on other sites More sharing options...
andersonbr Posted March 13, 2017 Share Posted March 13, 2017 JasperDesign jasperDesign = JRXmlLoader.load(file); JRDesignBand band = (JRDesignBand) jasperDesign.getPageFooter(); band.setHeight(SIZE); // you can change getPageFooter to another band... 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