Документация PDFiumPas

SmoothScroll Свойство

Эта запись API сохраняет идентификаторы, сигнатуры, блоки кода и термины PDF в исходном виде.
Компонент: TPdfView  ·  Модуль: PDFium
Enables timer-driven segmented animation for line/page scrollbar commands. Thumb tracking remains immediate.

Синтаксис

property SmoothScroll: Boolean;

Описание

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.

Примечания

Пример

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

См. также

Active, Pdf, Options, Zoom