How to override "net.sf.jasperreports.image.dpi" property at report level


I tried to override net.sf.jasperreports.image.dpi with svg renderType to change the default dpi from 72 to 300 for a specific chart but it doesn't work

    <reportElement x="67" y="252" width="326" height="225" uuid="856d5776-6c3f..">
        <property name="net.sf.jasperreports.image.dpi" value="300"/>

How can I override this property at report level ??

I use jasperrepport 5.6.0.



maher.hannachi.9's picture
Joined: Dec 22 2016 - 1:20am
Last seen: 6 years 9 months ago

1 Answer:

This is a global property. This means you'll need to write your own program to generate your report and to set this property in your program per report.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago