GetAnnotDest

註解與熱點連結

描述

指定的註解有目的地項目時,此函式傳回 DestID。

此 DestID 可搭配 GetDestPage、GetDestType 與 GetDestValue 函式使用。註解沒有目的地項目時,此函式傳回零

GetAnnotActionID 函式可能傳回可搭配 GetActionDest 函式使用的值

語法

Delphi

Function TPDFlib.GetAnnotDest(Index: Integer): Integer;

ActiveX

Function PDFlib::GetAnnotDest(Index As Long) As Long

DLL

int DLGetAnnotDest(int InstanceID, int Index);

參數

Index註解的索引。頁面上第一個註解的索引為 1。

傳回值

0指定的註解沒有目的地項目。
Non-zeroDestID,可搭配各個目的地函式使用。