Skip to content

PdfContentExtractor.ExtractTextFragments Method

Overloads

Name Description
ExtractTextFragments() Extracts the text fragments from the Pdf page.
ExtractTextFragments(PdfContentExtractionContext) Extracts the text fragments from the PDF page.

ExtractTextFragments()

Extracts the text fragments from the Pdf page.

C#
public PdfTextFragmentCollection ExtractTextFragments()

ExtractTextFragments(PdfContentExtractionContext)

Extracts the text fragments from the PDF page.

C#
public PdfTextFragmentCollection ExtractTextFragments(PdfContentExtractionContext context)

Parameters

context PdfContentExtractionContext

Remarks

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