Hi Mark,
IS there something wrong with this? The image won't
show up as header....
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)));
Thanks.
--- Mark Hall <[EMAIL PROTECTED]> wrote:
> On Thursday 13 January 2005 09:33, Rex Ramos wrote:
> > LOGO( a gif file, right justified)
> > TICKET DESIGNATOR - REVISION ID (in big fonts,
> > centered, next line after the logo)
> > <paragraphs here>
> >
> > AND the succeeding pages would look like
> >
> > LOGO( a gif file, right justified)
> > TICKET DESIGNATOR - REVISION ID continued... (in
> big
> > fonts, centered, next line after the logo, font of
> > size approximately 20pt)
> >
> > <paragraphs here>
> To repeat some text on every page you need to use
> headers / footers. To use a
> different header on the first page you need to use
> the RtfHeaderFooterGroup
> and the RtfHeaderFooter. Please check the tutorial
> on how to do this
> http://itext.sourceforge.net/tutorial/rtf/index.html
> .
>
> Greetings,
> Mark
> --
> It's now the GNU Emacs of all terminal emulators.
> -- Linus Torvalds, regarding the fact that Linux
> started off as a terminal
> emulator
>
> My GPG public key is available at:
>
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
>
> ATTACHMENT part 2 application/pgp-signature
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions