THotPDF.AnalyzeLoadedReadingOrder Method
Compares the MCID sequence in the loaded structure tree with tagged text sorted from top to bottom and left to right
Declaração
function AnalyzeLoadedReadingOrder(PageIndex: Integer;
out Diagnostics: THPDFReadingOrderDiagnosticArray;
RankTolerance: Integer = 0): Boolean;
Parâmetros
| Nome | Finalidade |
|---|---|
PageIndex | Índice baseado em zero da página carregada |
Diagnostics | Missing tags, missing content, duplicate MCIDs, and rank mismatches |
RankTolerance | Allowed difference between structure and geometric rank |
Valor devolvido
Devolve True when the page and structure tree were analysed, even when diagnostics report mismatches
Notas de utilização
- Only text associated with an active MCID contributes geometric order
- Nested structure elements inherit page and role context
- Numeric
/Kentries and marked-content reference dictionaries are supported