pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Get page and coordinate position of text and how to retrieve text from the same position on another page
Date Fri, 09 Sep 2016 06:30:08 GMT
Am 09.09.2016 um 05:04 schrieb Dityo Krisnugroho:
>
> Hi,
>
> I need to be able to get page and coordinate position of text and how 
> to retrieve text from the same position on another page.
>

See the PrintTextLocations example from the source code download. To get 
text (more than just one character) from a specific area, use 
ExtractTextByArea. If just one character, then you just extract the text 
like in PrintTextLocations  and keep what you want.

Tilman



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message