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 LongDLL
int DLSetPageActionMenu(int InstanceID, wchar_t * MenuItem);Parameters
| MenuItem | The MenuItem to call, for example "Print" |
|---|
Return values
| 0 | The open action could not be set, there is a problem with the document |
|---|---|
| 1 | The page open action was set successfully |