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.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
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