function NextReadingUnitOfKind(const Units: TPdfReadingUnits; CurrentIndex: Integer; Kind: TPdfContentFragmentKind; GoForward: Boolean): Integer;
| Units | TPdfReadingUnits |
| CurrentIndex | Integer |
| Kind | TPdfContentFragmentKind |
| GoForward | Boolean |
IntegerAs unidades de leitura mantêm títulos e texto alternativo de figuras íntegros, dividem o texto dos parágrafos nos limites de sentença, preservam pontos decimais e deixam o cursor de leitura como um índice de array pertencente ao chamador
Use Rects com TPdfView.SetReadingHighlight e Language para coordenar o destaque visual com uma voz de TTS
Index := NextReadingUnitOfKind(Units, Index, cfHeading, True);