You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by "Hesham G." <he...@gmail.com> on 2015/03/25 13:13:14 UTC

Read current letter's text color

Hello ,

When reading a page content in a pdf file using the processTextPosition(...) method, is there a way to know the current letter’s text color ?


Best regards ,
Hesham

Re: Read current letter's text color

Posted by Tilman Hausherr <TH...@t-online.de>.
In 1.8.8, try getGraphicsState().getStrokingColor().getJavaColor()

Tilman


Am 25.03.2015 um 13:13 schrieb Hesham G.:
> Hello ,
>
> When reading a page content in a pdf file using the processTextPosition(...) method, is there a way to know the current letter’s text color ?
>
>
> Best regards ,
> Hesham


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org