Click or drag to resize

PdfDocumentExtractTextFromPages Method (IEnumerableInt32)

Extracts the written text content from specified pages in the PDF 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: 2020.3.2.0 (2020.3.2.0)
public string ExtractTextFromPages(
	IEnumerable<int> PageIndexes


Type: System.Collections.GenericIEnumerableInt32
An IEnumerable list of page indexes.

Return Value

Type: String
The text extracted from the PDF pages as a string.
See Also