Jump to content
We've recently updated our Privacy Statement, available here ×

JimboJones2018

Members
  • Posts

    1
  • Joined

  • Last visited

JimboJones2018's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I made a report with Jaspersoft Studio 6.2.2. The image on the first page should be positioned dynamically. This should be done with a scriptlet like this ... @Override public void beforeReportInit() throws JRScriptletException { JasperReport jr = (JasperReport) this.parametersMap.get("JASPER_REPORT").getValue(); JRBand titleBand = jr.getTitle(); JRElement je = titleBand.getElementByKey("img_logo"); je.setX(100); // setting the x-position }[/code]After generating the report it seems that it doesn´t work, image-object is still on the origin position. Retrieving the x-position with get()-method shows the expected value of 100. It is via scriptlet not possible to change the position dynamically ?? Any ideas ? Greetings, Jimbo
×
×
  • Create New...