SetOpenActionDestination
Description
This function allows the opening page and zoom factor to be set for the selected document.
Syntax
Delphi
function TDebenuPDFLibrary1811.SetOpenActionDestination(OpenPage,
Zoom: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::SetOpenActionDestination(OpenPage As Long,
Zoom As Long) As Long
DLL
int DPLSetOpenActionDestination(int InstanceID, int OpenPage, int Zoom)
Parameters
OpenPage | The page number to jump to when the document is opened |
Zoom |
The zoom percentage to use when the document is opened: 0..1600 = percentage zoom -1 = Fit in window -2 = Fit width |
Return values
0 | The open action could not be set |
1 | The open action was set successfully |