You must set the graphic state:

PdfContentByte cb = ....;
PdfGState gs = new PdfGState();
gs.setOverPrintStroking(true);
cb.setGState(gs);

Best Regards,
Paulo Soares

----- Original Message -----
From: "Rogerio Cisi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 18:59
Subject: [iText-questions] How to set overprint when writting a text?


Hello!

Can anyone help me in writting a text with overprint. To be more clear:
I
would like to write a text in a colored page, but the page background
color
must be keeped. Using the method showTextAligned of the class
PdfContentByte, under the text writted the color is white inside beeing
the
page color.

Thank�s in advance

Rog�rio Rodrigues Lima Cisi
e-mail : [EMAIL PROTECTED]
Fone : 55-11-3145-3900    ramal: 3967



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to