Click or drag to resize

PdfDocumentExtractAllText Method

Extracts the written text content from the PDF and returns it as a string. Pages will be separated by 4 consecutive newline characters ("\n\n\n\n")

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

Return Value

Type: String
All text in the PDF as a string.
See Also