SetPageActionMenu

Page properties

Description

Specifies a menu item to run when the document is first opened.

Syntax

Delphi

function TPDFlib.SetPageActionMenu(Const MenuItem: WideString): Integer;

ActiveX

Function PDFlib::SetPageActionMenu(MenuItem As String) As Long

DLL

int DLSetPageActionMenu(int InstanceID, wchar_t * MenuItem);

Parameters

MenuItemThe MenuItem to call, for example "Print"

Return values

0The open action could not be set, there is a problem with the document
1The page open action was set successfully