Free Support Forum - aspose.com

Find text and retrieve page-number

Dear All!

I'm currently evaluating the pdf-kit component.

Basically I like the programming interface, but i miss the opportunity to find a string literal inside a loaded document, and then retrieve the page-number of the page on which the string resides.

Maybe you could give some advise solving this issue.

Best regards, Daniel Lang

Hello Daniel,

Thanks for considering Aspsoe.

Your requirement looks very interesting. Aspose.Pdf.Kit JAVA version has a class named PdfSearcher but i am not sure you it will return you the page over which it found. One more thing It is a known issue that search doesn't work 100% in all cases & we are working on this issue. This feature is only available in JAVA version.