SelectPdf for .NET - Pdf To Text Converter. Extract Text from PDF - C# / ASP.NET Sample This sample shows how to use SelectPdf Pdf Library for .NET to extract text from a PDF document. The sample uses the following (existing) test PDF: Test PDF document Text Layout: Original (Keep Positions) Reading (Reading Order) Start Page: End Page: (Leave empty to extract until the last page) Note: The free trial version of SelectPdf will always extract text from the first 3 pages of the PDF document, no matter the page settings received.