PDFiumVCL 文档

AllowUserPageChange property

此 API 条目保留标识符、签名、代码块和 PDF 术语的原始形式。
Component: TPdfView  ·  Unit: PDFium
Allows user input (mouse wheel, scroll bar drag, key bindings) to change the current page.

Syntax

property AllowUserPageChange: Boolean;

Description

Allows user input (mouse wheel, scroll bar drag, key bindings) to change the current page.

Set to False when you want to fully drive the page index from code.

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

See Also

Active, Pdf, Options, Zoom