SetOutlineNamedDestinationA

Annotations and hotspot links, Outlines

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetOutlineNamedDestination and string arguments are interpreted using the current SetAnsiMode code page

Sets the destination of the specified outline item (bookmark) to a named destination.

Syntax

Delphi

Function DLSetOutlineNamedDestinationA(InstanceID, OutlineID: Integer; DestName: PAnsiChar): Integer;

DLL

int DLSetOutlineNamedDestinationA(int InstanceID, int OutlineID, const char * DestName);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.
DestNameThe named destination.

Return values

0The OutlineID was invalid
1Success