THotPDF.ExtractLoadedPageSemanticText

Returns plain text in the semantic order produced by loaded-page geometry analysis

Delphi syntax

function ExtractLoadedPageSemanticText(PageIndex: Integer;
  out AText: UnicodeString): boolean;

Description

Text inside a column is emitted top-to-bottom before the next column. Table cells remain tab-separated and table rows remain row-major. Column transitions, and zone transitions between lines set farther apart than a line spacing, receive a blank line, preserving visible document boundaries without reproducing every positioning space. Words that a document separates by moving the text position instead of showing a space character get a space, as in ExtractLoadedPageText

Use AnalyzeLoadedPageSemanticText when role, bounds, cell, table, list, column, or source-order metadata is required