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;