Debenu Quick PDF logo

SetPageActionMenu

Page properties

Description

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

Syntax

Delphi

function TDebenuPDFLibrary1511.SetPageActionMenu(MenuItem: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetPageActionMenu(
  MenuItem As String) As Long

DLL

int DPLSetPageActionMenu(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport