SetDisplayMode

Viewer interaction

Description

Switches between dmSinglePage, which shows one page at a time, and dmContinuous, which scrolls vertically through the whole documentAssigning the mode already in effect changes nothing; otherwise the layout is rebuilt and the view re-rendered

Syntax

Delphi

Procedure TPDFlibViewer.SetDisplayMode(Mode: TPDFlibViewerDisplayMode);

Parameters

ModeNew display mode, dmSinglePage or dmContinuous

See also

ViewerMode, Page, TPDFlibViewer