SetActionLaunchOptions

Actions

Description

Sets the target file, Windows parameters, default directory, operation and window preference of a launch action

Syntax

Function TPDFlib.SetActionLaunchOptions(ActionID: Integer; Const FileName, Parameters, DefaultDirectory: WideString; Operation, NewWindow: Integer): Integer;

Remarks

Operation is 0 for the standard open default or 1 for print, while NewWindow is -1 to omit, 0 for false or 1 for true

Launch actions are rejected in PDF/A mode