Hello,I have some questions about the method CreateFreeText of
PdfAnnotation class(iTextSharp) .
1.How should I deal with the third parameter of this method?This parameter
accepts a PdfContentByte object, can I pass the DirectContent object or the
DirectContentUnder object of the current opening document to this parameter?
2.How can I change the font style of text in the annotation created by
CreateFreeText?I tried to create a BaseFont object, and pass it to the
SetFontAndSize method of the direct content of the current opening document,
then pass the object of direct content to the PdfContentByte method as the
third parameter, but it changed the font size only, the font style weren't
changed.
Thank you very much.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
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