PDFTextLine¶
Namespace: O2S.Components.PDF4NET.Content
Defines a line of text returned by a text extraction operation.
Inheritance Object → PDFTextLine
Properties¶
LineCorners¶
Gets the visual coordinates of the line corners.
Property Value
PDFPoint[]
The coordinates on the page of the line's corners.
Remarks
The order of the corners in the array is the following: lower left, lower right, upper right, upper left. These corners match the text baseline for the lower corners. The PDFTextLine.TypographicLineCorners property considers the font's Descent for the lower corners.
Text¶
Gets the text.
Property Value
String
The text associated with the line.
TextRuns¶
Gets the text fragments.
Property Value
PDFTextRunCollection
The collection of text fragments that compose the line.
TypographicLineCorners¶
Gets the typographic coordinates of the line corners.
Property Value
PDFPoint[]
The typographic coordinates on the page of the line's corners.
Remarks
The order of the corners in the array is the following: lower left, lower right, upper right, upper left. The typographic corners consider the font's Descent for the lower corners. The PDFTextLine.LineCorners property considers the text baseline for the lower corners.
Methods¶
ToString()¶
Converts the object to string.
Returns
String
This object as string.