GetNamedDestination
分类:文档属性、注释和热点链接
描述
查找具有指定名称的命名目标,并返回可与 GetDestPage、GetDestType 和 GetDestValue 函数一起使用的 DestID
语法
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 |