SetPageMode

Document properties

Description

Sets the initial page mode of the document.

Syntax

Delphi

function TPDFlib.SetPageMode(NewPageMode: Integer): Integer;

ActiveX

Function PDFlib::SetPageMode(NewPageMode As Long) As Long

DLL

int DLSetPageMode(int InstanceID, int NewPageMode);

Parameters

NewPageMode0 = Normal view 1 = Show the outlines pane 2 = Show the thumbnails pane 3 = Show the document in full screen mode 4 = Optional content group panel visible 5 = Attachments panel visible

Return values

0The page mode could not be set The page mode was set successfully
1