SetOpenActionNamedDestination
Document properties, Destinations and actions
Description
Sets the document open action to jump to an existing named destination
Syntax
Delphi
Function TPDFlib.SetOpenActionNamedDestination(Const DestName: WideString): Integer;
Parameters
| 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