Code samples for searching PDF text or images in Android

Search PDF files for text
This sample shows how to use TextSearch to search text on PDF pages using regular expressions.

Search & Replace PDF text or images
This sample which shows how to use pdftron.PDF.ContentReplacer to search and replace text strings and images in existing PDF (e.g. business cards and other PDF templates).

UI samples

Please note that native code is being used in the following showcase app(s). Apryse SDK for Xamarin provides the same features but the source code for the showcase application(s) is only available in native languages.

Android showcase sample app
The showcase demonstrates some features of the SDK. To view the search demo, select Text Search found under Viewing in the app.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales