PDFiumPas 文件

AllowUserPageChange 属性

组件: TPdfView  ·  单元: PDFium
允许用户输入(鼠标滚轮、滚动条拖动、按键绑定)更改当前页面

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