DAGetPageLayout
Document properties, Direct access functionality
Version history
This function was introduced in Quick PDF Library version 11.15.
Description
Returns the page layout of the specified document.
Syntax
Delphi
function TDebenuPDFLibrary1811.DAGetPageLayout(FileHandle: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DAGetPageLayout(FileHandle As Long) As Long
DLL
int DPLDAGetPageLayout(int InstanceID, int FileHandle)
Parameters
FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
Return values
0 | Single page |
1 | One column |
2 | Two columns, odd-numbered pages on left |
3 | Two columns, odd-numbered pages on right |
4 | Two pages, odd-numbered pages on left |
5 | Two pages, odd-numbered pages on right |