PdfTextExtractionOptions Class

public sealed class PdfTextExtractionOptions

Constructors

NameDescription
PdfTextExtractionOptions()

PdfTextExtractionOptions()

public PdfTextExtractionOptions()

No documentation is available.

Properties

NameDescription
DefaultGets the default options: the text exactly as the fonts give it.
ExpandLigaturesGets a value indicating whether the Latin ligatures of the Alphabetic Presentation Forms block (U+FB00 to U+FB06: ff, fi, fl, ffi, ffl, ſt, st) are replaced by the letters they join, so that a search for "office" finds a word shown with the glyph ffi. The default is false: the text is what the fonts map their glyphs to.
ReadingOrderGets the order of the lines: the order of the content (PdfTextReadingOrder.Content, the default), or the reading order found from the layout of the page (PdfTextReadingOrder.Layout), which reads the columns of a page one after the other.

Gets the default options: the text exactly as the fonts give it.

public static PdfTextExtractionOptions Default { get; }

Gets a value indicating whether the Latin ligatures of the Alphabetic Presentation Forms block (U+FB00 to U+FB06: ff, fi, fl, ffi, ffl, ſt, st) are replaced by the letters they join, so that a search for "office" finds a word shown with the glyph ffi. The default is false: the text is what the fonts map their glyphs to.

public bool ExpandLigatures { get; init; }

Property value

bool

Gets the order of the lines: the order of the content (PdfTextReadingOrder.Content, the default), or the reading order found from the layout of the page (PdfTextReadingOrder.Layout), which reads the columns of a page one after the other.

public PdfTextReadingOrder ReadingOrder { get; init; }

Property value

PdfTextReadingOrder