How to rotate a text field by 45 degrees? in Products Posted October 3, 2017 Thanks to Circuitsoft, I add this to my jrxml:<background><band height="842" splitType="Stretch"><image><reportElement x="20" y="0" width="511" height="830" uuid="d5d7a19d-060a-4875-954b-e176ab96898a"/><imageExpression><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstanceFromText("<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="765" height="990"><text x="60" y="40" transform="matrix(.6,.8,-.8,.6,0,0)" style="font-size:140px;font-weight:bold;fill:#d8d8d8">DRAFT</text></svg>")]]></imageExpression></image></band></background>
How to rotate a text field by 45 degrees?
in Products
Posted
Thanks to Circuitsoft, I add this to my jrxml:
<background>
<band height="842" splitType="Stretch">
<image>
<reportElement x="20" y="0" width="511" height="830" uuid="d5d7a19d-060a-4875-954b-e176ab96898a"/>
<imageExpression><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstanceFromText("<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="765" height="990"><text x="60" y="40" transform="matrix(.6,.8,-.8,.6,0,0)" style="font-size:140px;font-weight:bold;fill:#d8d8d8">DRAFT</text></svg>")]]></imageExpression>
</image>
</band>
</background>