Do either the Generator or the Merger applications provide the functionality to search a PDF file for a specific text string? If so, how would I go about doing that?
Searching text within a PDF
Re: Searching text within a PDF
Support · Dec 29, 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 on 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