PDFiumPas 文件

CurrentCharIndex 屬性

元件: TPdfView  ·  單元: PDFium
目前滑鼠游標下方(或最後一次點擊測試點)字元的唯讀從零起始索引

Syntax

property CurrentCharIndex: Integer;

Description

目前滑鼠游標下方(或最後一次點擊測試點)字元的唯讀從零起始索引

由內建的搜尋高亮度功能使用;當游標不在文字上時傳回 -1

所有 TPdfView 顯示屬性在指定時都會觸發重繪;您可以連續變更數個屬性而不會閃爍,因為重繪會合併為單一次失效操作

Remarks

Example

begin
  PdfView1.CurrentCharIndex := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options, Zoom