SetOpenActionDestination

Document properties

Description

This function allows the opening page and zoom factor to be set for the selected document.

Syntax

Delphi

function TPDFlib.SetOpenActionDestination(OpenPage, Zoom: Integer): Integer;

ActiveX

Function PDFlib::SetOpenActionDestination(OpenPage As Long, Zoom As Long) As Long

DLL

int DLSetOpenActionDestination(int InstanceID, int OpenPage, int Zoom);

Parameters

OpenPageThe page number to jump to when the document is opened
ZoomThe zoom percentage to use when the document is opened: 0..1600 = percentage zoom -1 = Fit in window -2 = Fit width

Return values

0The open action could not be set
1The open action was set successfully