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
| DestName | Name of an existing destination registered with NewNamedDestination |
|---|
Return values
| 0 | The named destination does not exist or the open action could not be set |
|---|---|
| 1 | The 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