PDFium Component Docs

CurrentCharIndex プロパティ

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
コンポーネント: TPdfView  ·  ユニット: PDFium
Read-only zero-based character index under the current mouse cursor (or last hit-tested point).

構文

property CurrentCharIndex: Integer;

説明

Read-only zero-based character index under the current mouse cursor (or last hit-tested point).

組み込み検索ハイライターで使用されます。カーソルがテキスト上にない場合は -1 を返します

All TPdfView display properties trigger a repaint when assigned; you can change several in sequence without flicker because the redraw is coalesced into a single invalidation.

備考

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

関連項目

Active, Pdf, Options, Zoom