PDF-ShellTools > General

extract text

(1/1)

lkaiser:
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:
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:
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

Navigation

[0] Message Index

Go to full version