Jump to content
Changes to the Jaspersoft community edition download ×

Images in a 'no XML' report


Recommended Posts

By: greg burgess - darthaspirat

Images in a 'no XML' report

2003-05-08 10:04

I'm trying to include an image in a report that I'm generating. I'm creating a JasperDesign object purely in Java and can't figure out how to include an image. Can someone please give me a code snippet or something to help?

 

Thanks,

 

 

 

 

By: Teodor Danciu - teodord

RE: Images in a 'no XML' report

2003-05-11 04:48

 

Hi,

 

The JasperReports API maps perfectly with the

XML structure of the report design.

Even if the API is poor documented, it should not

be hard to figure out what classes and methods

should be used to add an image to a band,

following the explanations given in the "Quick Reference"

for an <image> tag and its components.

 

The "noxmldesign" sample already shows how to

add a text field and adding an image is not

different.

You set the position of the element, appearance

settings and the expression.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...