GetNamedDestination
Document properties, Annotations and hotspot links
Description
Locates the named destination with the specified name and returns a DestID that can be used with the GetDestPage, GetDestType and GetDestValue functions.
Syntax
Delphi
function TPDFlib.GetNamedDestination(Const DestName: WideString): Integer;ActiveX
Function PDFlib::GetNamedDestination(DestName As String) As LongDLL
int DLGetNamedDestination(int InstanceID, wchar_t * DestName);Parameters
| DestName | The name of the named destination to search for |
|---|
Return values
| 0 | The specified named destination could not be found |
|---|---|
| Non-zero | A DestID that can be used with the destination functions |