GetAnnotDest
注释和热点链接
描述
若指定的注释带有目标条目,此函数返回一个 DestID
DestID 可与 GetDestPage、GetDestType 和 GetDestValue 函数一起使用。若注释没有目标条目,此函数返回零
GetAnnotActionID 函数可能返回可供 theGetActionDest 函数使用的值
语法
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-zero | 可与目标函数配合使用的 DestID |