Summkeller, Eric wrote:
> The problem is that the template placeholder is created but there is no 
> text in it.

>             PdfTemplate tpl = cb.createTemplate(0, 0);

You have answered the question yourself.
You create template with zero width and zero height.
Everything you add to such a template is added to the PDF
(internally, in the PDF syntax), but is invisible because
it's outside the visible area of the template.
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
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to