Hi,
how can i use underline and strikethru feature for PDF in conjunction
with writer.getDirectContent()? I just saw "setFontAndSize" but this
takes an BaseFont as argument and i did not find any hint on how to set
underline and strikethru this this BaseFont.
Also, the following code produces wrong PDF:
writer.getDirectContent().moveTo(x, y);
writer.getDirectContent().lineTo(x + width, y);
writer.getDirectContent().lineTo(x + width, y - height );
writer.getDirectContent().lineTo(x, y - height );
writer.getDirectContent().lineTo(x, y);
writer.getDirectContent().closePath();
writer.getDirectContent().clip();
What is wrong with this code?
Thanks and kind regards, david
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions