On Thursday 13 January 2005 10:45, Rex Ramos wrote:
> Image img = Image.getInstance("logo2.jpg");
> Phrase ph = new Phrase(new Chunk(img, 20, 20));
> HeaderFooter header = new RtfHeaderFooter(ph);
>
> document.open();
> document.setHeader(header);
>
>  BUT when i have it as not part of the header, the
> image is actually displayed:
>
> document.add(new Phrase(new Chunk(img, 20, 20)));
This is probably a bug. Have you tried adding the Image directly into the 
Phrase without wrapping it in a Chunk?

I won't get round to looking into the bug before Sunday.

Greetings,
Mark
-- 
Lisp, Lisp, Lisp Machine,
Lisp Machine is Fun.
Lisp, Lisp, Lisp Machine,
Fun for everyone.

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpKAj9SiU1K0.pgp
Description: PGP signature

Reply via email to