GetPageActionInfo

Page properties, actions

Description

Returns the typed action attached to the selected page open or close trigger

The returned kind is akNone when the trigger has no supported action

Syntax

Delphi

Function TPDFlib.GetPageActionInfo(Trigger: TPDFlibPageActionTrigger): TPDFlibActionInfo;

Parameters

TriggerLifecycle trigger to read: patOpen or patClose

Return values

Returns the TPDFlibActionInfo record for the trigger. Kind is akNone when no action is attached; otherwise the record fields describe the action kind, target, destination geometry and action-specific values. Reading does not modify the document.

See also

SetPageAction, RemovePageAction, TPDFlibActionInfo