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

0The action was rejected or could not be created
1The action was set

See also

GetPageActionInfo, RemovePageAction, SetDocumentAction