I am adding an image to a PdfContentByte as follows:
cb.addImage(appheader, appheader.plainWidth(), 0, 0,
appheader.plainHeight(),0,750);
I then want to place some text right in the middle of the image, so I have
used the following code:
cb.addImage(appheader, appheader.plainWidth(), 0, 0,
appheader.plainHeight(),0,750);
cb.beginText();
cb.setFontAndSize(ArialBold,13);
cb.setTextMatrix(50,775);
cb.showTextAligned(PdfContentByte.ALIGN_LEFT, "APPENDIX A", 190,
795, 0);
cb.endText();
I can't for the life of me figure out how to change the text color, though,
to match the text on the image. Can I change the text color?
thanks,
e miller
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions