Author Topic: extract text  (Read 4751 times)

0 Members and 1 Guest are viewing this topic.

lkaiser

  • Newbie
  • *
  • Posts: 12
extract text
« on: February 10, 2016, 09:02:48 PM »
Hi RTT,

Are there any API method to get the text from a PDF file ?
I am searching how to extract adresses informations (and other localized informations if possible) from files containing invoices for sorting and grouping by destination (country, region , city ... )
Thank you in advance

Lionel

RTT

  • Administrator
  • *****
  • Posts: 918
Re: extract text
« Reply #1 on: February 10, 2016, 11:44:58 PM »
Take a look to the Text and TextEx properties of the IPDFPage object.

There is a "View text" My Script, under the samples tab, that demos the TextEx property.

lkaiser

  • Newbie
  • *
  • Posts: 12
Re: extract text
« Reply #2 on: February 14, 2016, 12:25:53 AM »
I managed to extract only the desired text thanks to the code of the demo .
Maybe in future developments there will be a method to extract text or items from a specified rectangular area in the page.

Thank You RTT