PDFium Component Docs

CurrentCharIndex-egenskap

Component: TPdfView  ·  Unit: PDFium
Skrivebeskyttet nullbasert tegnindeks under gjeldende musepeker (eller siste trefftestede punkt)

Syntax

property CurrentCharIndex: Integer;

Description

Skrivebeskyttet nullbasert tegnindeks under gjeldende musepeker (eller siste trefftestede punkt)

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