SetPageMode
Description
Sets the initial page mode of the document.
Syntax
Delphi
function TDebenuPDFLibrary1811.SetPageMode(NewPageMode: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::SetPageMode(NewPageMode As Long) As Long
DLL
int DPLSetPageMode(int InstanceID, int NewPageMode)
Parameters
NewPageMode |
0 = 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
0 | The page mode could not be set |
1 | The page mode was set successfully |