SetOutlineNamedDestination
Annotations and hotspot links, Outlines
Description
Sets the destination of the specified outline item (bookmark) to a named destination.
Syntax
Delphi
Function TPDFlib.SetOutlineNamedDestination(OutlineID: Integer; Const DestName: WideString): Integer;
ActiveX
Function PDFlib::SetOutlineNamedDestination(OutlineID As Long, DestName As String) As Long
DLL
int DLSetOutlineNamedDestination(int InstanceID, int OutlineID, const wchar_t * DestName);
Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. |
|---|---|
| DestName | The named destination. |
Return values
| 0 | The OutlineID was invalid |
|---|---|
| 1 | Success |