TPdfReadableHeuristicOrder = (rhoNative, rhoColumns);
Set TPdf.ReadableContentOptions.HeuristicOrder to rhoColumns to apply geometry-based ordering only to heuristic reader output; rhoNative remains the default and tagged logical order is unchanged
ColumnGap defaults to 18 points and accepts finite values from 1 through 1000000; RightToLeft chooses right-to-left column progression and horizontal tie order
The heuristic identifies separated columns with at least two objects on each side and overlapping vertical extents, recursively arranging each side from top to bottom
Objects crossing a candidate gutter form spanning flow bands: content above each band is read by column, followed by the band and then the columns below it; this handles full-width headings, footers and intermediate captions
Ordering uses displayed bounding boxes at 1/64 point resolution, including the page's intrinsic Rotate; it does not rewrite text direction, font orientation or source rectangles
ReadableContent.HeuristicOrderApplied reports successful geometric ordering and DetectedColumns reports the maximum columns in a flow band; tagged/native results and failed ordering report False and zero
Unsupported geometry, more than 2048 readable objects, recursion beyond 32 levels or more than 8388608 work visits retain the entire original native order without partial sorting
Failed geometric ordering bypasses retention, allowing a transient native geometry failure to recover on the next read
Exact source text, MCIDs and rectangles remain attached to their original fragments; reading units and bound viewers share the ordered snapshots, and native save/reopen preserves the original PDF content
This is a deterministic horizontal-layout heuristic, not general layout recognition for arbitrary overlapping, vertical or mixed-direction text; ambiguous layouts remain a caller policy decision