Click or drag to resize

PdfDocumentExtractTextFromPages Method (Int32, Int32)

Extracts the written text content from a range of pages within the 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(
	int StartIndex,
	int EndIndex
)

Parameters

StartIndex
Type: SystemInt32
The start page index. Note: Page 1 has index 0
EndIndex
Type: SystemInt32
The end page index. Note: The last page has index PageCount -1

Return Value

Type: String

[Missing <returns> documentation for "M:IronPdf.PdfDocument.ExtractTextFromPages(System.Int32,System.Int32)"]

See Also