PdfTextLine Class
A line of the text of a page: the glyphs that follow each other on a baseline (see PdfPage.ExtractTextLayout).
public sealed class PdfTextLineProperties
| Name | Description |
|---|---|
| Bounds | Gets the smallest rectangle that contains the bounds of the glyphs of the line. |
| Glyphs | Gets the glyphs of the line, in the order of the content (from left to right in the reading order of the layout), spaces included. |
| Text | Gets the text of the line, with a space where the glyphs are apart: the line of PdfPage.ExtractText. |
| Words | Gets the words of the line, in the order of the content (from left to right in the reading order of the layout). |
Bounds
PdfTextLine.csGets the smallest rectangle that contains the bounds of the glyphs of the line.
public PdfRectangle Bounds { get; }Property value
Glyphs
PdfTextLine.csGets the glyphs of the line, in the order of the content (from left to right in the reading order of the layout), spaces included.
public IReadOnlyList<PdfTextGlyph> Glyphs { get; }Property value
Text
PdfTextLine.csGets the text of the line, with a space where the glyphs are apart: the line of PdfPage.ExtractText.
public string Text { get; }Property value
Words
PdfTextLine.csGets the words of the line, in the order of the content (from left to right in the reading order of the layout).
public IReadOnlyList<PdfTextWord> Words { get; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |