HiQPdf Documentation

PdfTextExtractExtractText Method (Stream, Int32, Int32)

HiQPdf Client for .NET Core
Call this method to extract the text from a range of pages of a PDF document contained in a stream

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public string ExtractText(
	Stream pdfStream,
	int firstPdfPageNumber,
	int lastPdfPageNumber
)

Parameters

pdfStream
Type: System.IOStream
The PDF document stream
firstPdfPageNumber
Type: SystemInt32
The first PDF page number
lastPdfPageNumber
Type: SystemInt32
The last PDF page number

Return Value

Type: String
The extracted text
See Also

Reference