SelectPdf for .NET - Search for Text in PDF - C# / ASP.NET Sample This sample shows how to use SelectPdf PDF Library for .NET to search for text in a PDF document. A new PDF will be created highlighting the text that has been found. The sample uses the following (existing) test PDF: Test PDF document Text to Search: Search Settings: Case Sensitive Whole Words Only