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. (PDF OCR). Pages will be separated by 4 consecutive newline characters ("\n\n\n\n")

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.2.27556 (4.4.4.0)
Syntax
public string ExtractTextFromPages(
	IEnumerable<int> PageIndexes
)

Parameters

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