Skip to content

PdfContentExtractor.ExtractTextLines Method

Overloads

Name Description
ExtractTextLines() Extracts the text from the PDF page as a collection of PdfTextLine objects.
ExtractTextLines(PdfContentExtractionContext) Extracts the text from the PDF page as a collection of PdfTextLine objects.

ExtractTextLines()

Extracts the text from the PDF page as a collection of PdfTextLine objects.

C#
public PdfTextLineCollection ExtractTextLines()

Remarks

When extracting text from multiple pages of the same document the same context object should be used with all ExtractTextLines method calls.

ExtractTextLines(PdfContentExtractionContext)

Extracts the text from the PDF page as a collection of PdfTextLine objects.

C#
public PdfTextLineCollection ExtractTextLines(PdfContentExtractionContext context)

Parameters

context PdfContentExtractionContext

Context for text extraction.

Remarks

When extracting text from multiple pages of the same document the same context object should be used with all ExtractTextLines method calls.