GetAnnotDest
Version history
This function was introduced in Quick PDF Library version 7.21.
Description
This function will return a DestID if the specified annotation has a destination entry. The DestID can be used with the GetDestPage, GetDestType and GetDestValue functions.
If the annotation does not have a destination entry, this function will return zero.
The GetAnnotActionID function might return a value that can be used with theGetActionDest function.
Syntax
Delphi
function TQuickPDF0813.GetAnnotDest(Index: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::GetAnnotDest(Index As Long) As Long
DLL
int QuickPDFGetAnnotDest(int InstanceID, int Index)
Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
Return values
| 0 | The specified annotation does not have a destination entry. |
| Non-zero | A DestID that can be used with the destination functions. |