# Text Extraction

> Get the text of PDF files in WPF: open it as plain text in the TextControl, read lines by page with the Lines class, match regular expressions and read areas.

- **Product:** TX Text Control .NET for WPF
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for WPF > PDF Processing > Text Extraction
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/llms-full.txt

---

## On This Page

- [How Text Extraction Works](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#how-text-extraction-works)
- [Prepare the Window](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#prepare-the-window)
- [Open the Text of a PDF in the Editor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#open-the-text-of-a-pdf-in-the-editor)
- [Read the Text Page by Page](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#read-the-text-page-by-page)
- [Search With Regular Expressions](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#search-with-regular-expressions)
- [Read a Value From an Area of the Page](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#read-a-value-from-an-area-of-the-page)
- [Get the Text and the Coordinates in One Load](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#get-the-text-and-the-coordinates-in-one-load)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/text-extraction/#next-steps)

---

## Nearby

- **Previous:** [Attachments](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/attachments/llms.txt)
- **Next:** [Document Metadata](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/pdf/metadata/llms.txt)
