Hello,
I'm adding a template and need to set the font. I would like to get the
existing font from PdfContentByte (pcb below) but the pcb.state is protected.
How can I access it?
Thanks!
PdfTemplate template = pcb.createTemplate(w, h);
template.beginText();
template.setFontAndSize(font, 9);
template.showText(text);
template.endText();
pcb.addTemplate(template, xScale, xRote, yRote, yScale, x, y);
ZALICUS INC.
245 First Street, Third Floor
Cambridge, MA 02142
www.zalicus.com
This email and any attachments may contain CONFIDENTIAL or PRIVILEGED
information and is a private communication between the intended addressee and
Zalicus Inc. or its subsidiaries. If you have received this email in error,
reading, copying, using or disclosing its contents to others is prohibited.
Please notify us of the delivery error by replying to this message and then
delete it from your system. Thank you.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php