SetPageAction
Page properties, actions
Description
Sets an action for opening or closing the currently selected page through its /AA dictionary
The method raises the document compatibility level to PDF 1.5 when successful and is rejected in PDF/A mode
Syntax
Delphi
Function TPDFlib.SetPageAction(Trigger: TPDFlibPageActionTrigger; ActionKind: Integer; Const Value, FieldNames: WideString; Flags, DestID: Integer): Integer;Return values
| 0 | The action was rejected or could not be created |
|---|---|
| 1 | The action was set |