Docs PDFiumVCL

SmoothScroll property

Esta entrada API preserva identificadores, assinaturas, blocos de código e termos PDF em sua forma original.
Component: TPdfView  ·  Unit: PDFium
Enables timer-driven segmented animation for line/page scrollbar commands. Thumb tracking remains immediate.

Syntax

property SmoothScroll: Boolean;

Description

When SmoothScroll is True, non-thumb scrollbar commands such as line up/down and page up/down animate toward their target offset in short timer-driven segments instead of jumping in one paint pass.

Dragging the scrollbar thumb still tracks immediately so users can scrub large documents without waiting for animation catch-up.

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.SmoothScroll := {value};
  PdfView1.Active := True;
end;

See Also

Active, Pdf, Options, Zoom