GetNamedDestination
文件屬性、註解與熱點連結
描述
找出指定名稱的具名目的地,並傳回 DestID,可搭配 GetDestPage、GetDestType 與 GetDestValue 函式使用
語法
Delphi
Function TPDFlib.GetNamedDestination(Const DestName: WideString): Integer;
ActiveX
Function PDFlib::GetNamedDestination(DestName As String) As Long
DLL
int DLGetNamedDestination(int InstanceID, const wchar_t * DestName);
參數
| DestName | 要搜尋的具名目的地名稱 |
|---|
傳回值
| 0 | 找不到指定的具名目的地 |
|---|---|
| Non-zero | DestID,可搭配各個目的地函式使用 |