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: (
public string ExtractTextFromPages(
	IEnumerable<int> PageIndexes


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

Return Value

Type: String

[Missing <returns> documentation for "M:IronPdf.PdfDocument.ExtractTextFromPages(System.Collections.Generic.IEnumerable{System.Int32})"]

See Also