问题
I am creating a jasper report .In that I want apply border to the each page.Can any one provide me some help on this.Border height should depend on the contents height of that page.
Thanks.
回答1:
You can do this by creating a frame or a rectangle in an outer report and then put inside it a supreport. The subreport should be allowed to expand as it wants and the rectangle should be set to Stretch to the band height.
回答2:
You can add a full size rectangle or bordered frame to the background band.
来源:https://stackoverflow.com/questions/2069631/border-in-jasper-report