THPDFSemanticTextLine Record

One detected reading-order line with its structure metadata

THPDFSemanticTextLine = record
  Text: UnicodeString;
  Cells: THPDFSemanticTextCells;
  Kind: THPDFSemanticBlockKind;
  Left, Bottom, Right, Top: Double;
  BaselineY: Double;
  FontSize: Double;
  ColumnIndex: Integer;
  ZoneIndex: Integer;
  TableIndex: Integer;
  TableRowIndex: Integer;
  ListLevel: Integer;
  SourceOrder: Integer;
end;

Text is the line text, Cells holds its optional table cells and Kind classifies the line by block role; the box fields describe the line in user space, with BaselineY the baseline and FontSize the dominant font size

ColumnIndex and ZoneIndex identify the reading column and zone, while TableIndex and TableRowIndex locate a table row, and ListLevel and SourceOrder give the list depth and the original glyph order

THPDFSemanticTextLayout.Lines carries the lines of one page analysis

THPDFSemanticTextLayout · THPDFSemanticTextCell · THPDFSemanticBlockKind