On Monday 09 October 2006 10:30, Martin Schuhmann wrote:
> Is it possible to insert images tagged as 'italics' with iText to a
> rtf-document?
It is possible with the latest release.
Use the RtfDirectContent class like this:

document.add(new RtfDirectContent("\\i"));
document.add(image);
document.add(new RtfDirectContent("\\i0"));

Greetings,
Mark
-- 
He that is giddy thinks the world turns round.
                -- William Shakespeare, "The Taming of the Shrew"

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

Attachment: pgp8xsShl6XgK.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to