Op 27/06/2013 10:35, Mohammed Mostafa schreef:
> are TextRenderInfo give me text size , text coordinates and text color?

http://api.itextpdf.com/itext/com/itextpdf/text/pdf/parser/TextRenderInfo.html
You get baseline, ascent line and descent line as a LineSegment.

Then there's:
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/DocumentFont.html
This gives you plenty of info about the font.

I know that in iTextSharp, we used to have methods such as 
GetColorNonStroke etc...
I'm not sure what happened to them, but as gs is an member variable of 
TextRenderInfo, it should be fairly easy to get the color.

Right now you're trying to reinvent the wheel.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Reply via email to