DASetPageMode
Document properties, Direct access functionality
Version history
This function was introduced in Quick PDF Library version 11.11.
Description
Sets the initial page mode of the document using the Direct Access functionality.
Syntax
Delphi
function TDebenuPDFLibrary1811.DASetPageMode(FileHandle,
NewPageMode: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DASetPageMode(FileHandle As Long,
NewPageMode As Long) As Long
DLL
int DPLDASetPageMode(int InstanceID, int FileHandle, int NewPageMode)
Parameters
FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
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 |