PDA

View Full Version : Images in report



Anonymous
08-23-2002, 11:32 AM
If I wish to add an image to my report header how would I do it?

Thanks for any help

J

Anonymous
08-23-2002, 03:31 PM
Hi,

try an ImageElement to display external JPG, GIF, PNG or WMF images. Have a look at report3.xml, you'll find a butterfly on top of the page, which is stored in file "anim001.wmf" and loaded using the tag:


<imageref x="200" y="48" width="100" height="90" src="anim0002.wmf" name="logo"/>

as definition. See the DTD for details of the syntax or have a look at the "jfreereport-0.7.5-install.pdf" which gives an example of how to use the imageelement.

Have more fun,
said Thomas