PdfDocumentExtractAllText Method

Extracts the written text content from the PDF and returns it as a string.

Pages are be separated by 4 consecutive Environment.NewLines

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.10.3
public string ExtractAllText()

Return Value

Type: String
All text in the PDF as a string.
See Also
Download DLL or Install with Nuget