PDFiumVCL Docs

CurrentCharIndex property

Dieser API-Eintrag behält Bezeichner, Signaturen, Codeblöcke und PDF-Begriffe in ihrer Originalform.
Component: TPdfView  ·  Unit: PDFium
Read-only zero-based character index under the current mouse cursor (or last hit-tested point).

Syntax

property CurrentCharIndex: Integer;

Description

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

Used by the built-in find highlighter; returns -1 when the cursor is not over text.

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.

Remarks

Example

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

See Also

Active, Pdf, Options, Zoom