Table of Contents

Namespace PdfSharp.Pdf.Content.Text

Classes

PdfLineExtractor

Extracts the straight segments of the paths a page paints (m, l, re, h), for example table rules. Curves are left out; their end point only moves the current point.

PdfLineSegment

A straight segment of a painted path, in the page's default user space (points, origin bottom left).

PdfTextExtractionOptions

Limits for reading one page. Reaching one throws a PdfReaderException.

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.

PdfTextRun

The text of one show-text operator (Tj, TJ, ' or ") and where it is drawn. Coordinates are in the page's default user space: points, origin at the bottom left of the page, before the page's /Rotate.

Enums

PdfTextOrder

The order in which extracted text is joined.