如何在iReport中设置整个页面的背景颜色?
我使用的是 iReport 3.7.4。 我想为整个页面设置背景颜色。我没有找到任何背景颜色的报表属性。 有人能帮我吗?
I am using iReport 3.7.4.
I want to set background color to entire page.I didn't found any report property for background color.
Can anyone help me in this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在
Background Band
的帮助下解决问题。我已将
staticText
元素放在Background Band
上,并将mode
属性设置为 < em>不透明
并设置backcolor
属性。示例:
Background Band
的高度应等于整个报表的高度,并且“透明”staticText
元素必须占据该 Band 的整个空间。结果将是:

You can solve issue with help of
Background Band
.I've put
staticText
element onBackground Band
and setmode
attribute asOpaque
and set thebackcolor
property.The sample:
The height of the
Background Band
should be equal to the whole report's height and the "transparent"staticText
element must occupy the entire space of this band.The result will be:
