> The code I use is:
>
> PdfTemplate template = contenido.createTemplate(500,200);
>
> template.moveTo(0, 100);
> template.stroke();
>
> template.beginText();
> BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA_BOLD, BaseFont.CP1252,
> BaseFont.NOT_EMBEDDED);
> template.setFontAndSize(bf,10);
> template.setTextMatrix(100,100);
> template.showText("EMPRESAS");
> template.endText();
>
> contenido.addTemplate(template, 0, 1, -1, 0, 500, 200);
> contenido.stroke();
You have to set white color value in template and treat template
the same way as contentbytes. PDF assumes black color as default in
graphic states.
--
With regards
Phillip Pan
-----------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions