SetOpenActionNamedDestination

Document properties, Destinations and actions

Description

Reference page for SetOpenActionNamedDestination. The function belongs to Document properties, Destinations and actions and keeps all identifiers exactly as shown

Syntax

Delphi

Function TPDFlib.SetOpenActionNamedDestination(Const DestName: WideString): Integer;

Return values

DestNameName of an existing destination registered with NewNamedDestination

Return values

0The named destination does not exist or the open action could not be set
1The open action was set to the named destination

Remarks

The call writes a GoTo open action whose destination is the named destination string, so page edits can keep using the name tree target

See also

NewNamedDestination, GetOpenActionDestination, GetDestName