0)property CurrentCharIndex: Integer; // default 0
读取或写入查看器上由应用程序管理的字符索引(默认 0)。赋值只保存这个整数,不会触发重绘,也不改动当前文本选择
要在运行时命中测试鼠标光标下的字符,请调用 PdfView1.CharacterIndexAtPos,或先用 DeviceToPage 转换客户区坐标,再查询 Pdf.CharacterIndexAtPos
begin
Memo1.Lines.Add(IntToStr(PdfView1.CurrentCharIndex));
PdfView1.Active := True;
Memo1.Lines.Add(IntToStr(PdfView1.CurrentCharIndex));
end;