HiQPdf Documentation

PdfTextExtractExtractText Method (Stream, Int32, Int32)

Quickly Create High Quality PDFs
Call this method to extract the text from a range of pages of a PDF document contained in a stream

Namespace:  HiQPdf
Assembly:  HiQPdf (in HiQPdf.dll) Version: 15.0.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