I'm not sure if this answers your question,
but have you tried this:
Ruskin Dantra wrote:
> PdfContentByte cb = writer.getDirectContent();
>
> cb.resetRGBColorStroke();
> cb.resetRGBColorFill();
> cb.setFontAndSize(FontFactory.getFont(FontFactory.HELVETICA, 12,
> Font.UNDERLINE).getBaseFont
Hi All,
After a considerable amount of looking through the archive I found no simple
solution how to make a rectangle display below text when the text is added
after the rectangle.
I have the following example:
PdfContentByte cb = writer.getDirectContent();
cb.resetRGBColorStroke();
cb.resetRGB