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.------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
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