PDFiumPas 文件

SmoothScroll 屬性

元件: TPdfView  ·  單元: PDFium
啟用以計時器驅動的分段動畫,用於行與頁面的捲軸命令,拖曳滑塊時仍會立即回應

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