logo       

Re: Your message to iText-questions awaits moderator approval: msg#00197

java.lib.itext.general

Subject: Re: Your message to iText-questions awaits moderator approval

Quoting Lloyd Bergman <lloyd.bergman@xxxxxxxxxx>:

> However, I still wasn't able to find out how to do what I want, e.g.
> chnaging font size for a header and text, etc. A good example of what the
> kind of thing I want to do is in the first few pages of Chap0703.pdf but
> unfortunately for me you use XML to generate the document. I want to be
> able to that just using your methods with using XML.

What about Chap0201.java?

A Chunk is a part of text that has the same font, same size,
same style and same color. If you need to make some bold,
change the font, change the color,... you need to create
another Chunk.

By adding different Chunks to a Phrase, Paragraph or Document,
you can construct text that has different fonts, different styles,
etc...

br,
Bruno


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise