heavensinformaticagmail.c Posted August 24, 2019 Share Posted August 24, 2019 Hello friends, I want to know if is it possible to set the page height with a parameter. Thanks for your help! Link to comment Share on other sites More sharing options...
swood_1 Posted August 26, 2019 Share Posted August 26, 2019 There is not a way to parameterize page height, orientation etc in JasperReports.The way to do this is to have main reports with different page sizes and orientations, which call subreports with the desired content. Link to comment Share on other sites More sharing options...
yann22580 Posted September 12, 2019 Share Posted September 12, 2019 Hi, in recent versions (6.9?), can't we set a report property using the net.sf.jasperreports.engine.type.OrientationEnum class ?Or that is what you mean using subreports ? You need to send a parameter with name "net.sf.jasperreports.engine.type.OrientationEnum" and value " OrientationEnum.LANDSCAPE" then the subreport understand it? Same for the page height/width ?If you need to print dynamically images portrait or landscape, is the way to do it ?Thanks for your insights 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