Agarwal, Sunil [CIB-IT] wrote:
> Is this the example you are referring to?

Yes, that's the one. But as you'll be working with Graphics2D,
you'll need to do something like this:
PdfContentByte cb = writer.getDirectContent();
PdfTemplate map = cb.createTemplate(w, h);
Graphics2D g2d = map.createGraphics(w, h, new DefaultFontMapper());
br,
Bruno

-------------------------------------------------------------------------
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
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to