Class PdfTextExtractor
Extracts the text that a page's content draws (ISO 32000-1 9.10). The text of annotations and form fields is not included: flatten the form first to extract it. See docs/text-extraction.md for what is decoded. A limit of PdfTextExtractionOptions throws PdfReaderException; a stream with a filter FreePDF does not implement throws System.NotImplementedException.
public static class PdfTextExtractor
- Inheritance
-
objectPdfTextExtractor
Methods
- GetText(PdfDocument, PdfTextOrder, PdfTextExtractionOptions?)
Gets the text of every page, each page followed by a form feed ("\f"), as pdftotext writes it.
- GetText(PdfPage, PdfTextOrder, PdfTextExtractionOptions?)
Gets the page's text: lines separated by "\n", the runs of a line separated by a space where there is a gap.
- GetTextRuns(PdfPage, PdfTextExtractionOptions?)
Gets the text runs of the page in the order the content draws them.