function SelectionCharCount: Integer;
Sums the character counts across all per-page selection ranges. In single-page selection mode this is just the length of the one range; in cross-page selection it is the total of both ranges.
Counts PDF character positions, not the text-string code points after extraction — ligatures and generated characters (for example, an auto-inserted CR/LF between visual lines) count as their underlying PDF character slots, matching the indices returned by CharacterIndexAtPos.
False.
StatusBar1.SimpleText :=
Format('Selected: %d characters', [PdfView1.SelectionCharCount]);