NewNamedDestination
Annotations and hotspot links
Description
Creates a named destination.
Syntax
Delphi
Function TPDFlib.NewNamedDestination(Const DestName: WideString; DestID: Integer): Integer;
ActiveX
Function PDFlib::NewNamedDestination(DestName As String, DestID As Long) As Long
DLL
int DLNewNamedDestination(int InstanceID, const wchar_t* DestName, int DestID);
int DLNewNamedDestinationA(int InstanceID, const char* DestName, int DestID);
Parameters
| DestName | The name of the destination |
|---|---|
| DestID | The destination to assign a name to |
Return values
Returns 1 when the named destination was created. Returns 0 when DestID does not identify a destination array or the destination could not be added to the document.