Debenu Quick PDF logo

SetOpenActionMenu

Document properties

Description

Specifies an Acrobat menu item to execute when the document is first loaded.

Syntax

Delphi

function TDebenuPDFLibrary1811.SetOpenActionMenu(MenuItem: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetOpenActionMenu(
  MenuItem As String) As Long

DLL

int DPLSetOpenActionMenu(int InstanceID, wchar_t * MenuItem)

Parameters

MenuItem The menu item which should be executed, for example "print"

Return values

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

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport