Adding page border in jasper report

后端 未结 1 688
后悔当初
后悔当初 2021-01-14 13:26

I have gone through some posts regarding \"adding page border in jasper reports\" but dint help much. Someone please tell me in detail how to add page border?

相关标签:
1条回答
  • 2021-01-14 14:19

    I achieved this by adding a background to my reports like this for example:

    <background>
        <band height="802" splitType="Stretch">
            <rectangle>
                <reportElement key="rectangle-2" x="0" y="76" width="535" height="726"/>
                <graphicElement>
                    <pen lineWidth="0.5" lineStyle="Solid"/>
                </graphicElement>
            </rectangle>
        </band>
    </background>
    
    0 讨论(0)
提交回复
热议问题