PdfDocumentExtractTextFromPage Method

Extracts the text content from one page of the PDF and returns it as a string.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.7.1
Syntax
public string ExtractTextFromPage(
	int pageIndex
)

Parameters

pageIndex
Type: SystemInt32
Index of the page. Note: Page 1 has index 0...

Return Value

Type: String
The text extracted from the PDF page as a string.
See Also
Download DLL or Install with Nuget