Hi,
Is it possible to parse PDF page and extract text from it or search for specific phrase and get its position(x,y)?
Thanks.
Parse Page
Re: Parse Page
Forum member · Dec 10, 2005I talk about existed pdf page...
Re: Parse Page
Support · Dec 10, 2005It is not possible to easily retrieve text or the location of it in an existing PDF. It is possible to get the entire page's content stream, but this would need to be parsed and the text may or may not be readable depending of the encoding used by its font. This is theoretically possible with some PDFs, but would involve some complex parsing. Take a look at the PdfPage class's getContents method for more details:
PdfPage.getContents() Method
Thanks,
ceTe Software Support Team