PdfTextExtractionOptions Class
The options of PdfPage.ExtractText and PdfPage.ExtractTextLayout.
public sealed class PdfTextExtractionOptionsConstructors
| Name | Description |
|---|---|
| PdfTextExtractionOptions() |
PdfTextExtractionOptions()
public PdfTextExtractionOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default options: the text exactly as the fonts give it. |
| ExpandLigatures | 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. |
| ReadingOrder | 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. |
Default
PdfTextExtractionOptions.csGets the default options: the text exactly as the fonts give it.
public static PdfTextExtractionOptions Default { get; }Property value
ExpandLigatures
PdfTextExtractionOptions.csGets 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
ReadingOrder
PdfTextExtractionOptions.csGets 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; }