GetAnnotActionID

注释和热点链接

描述

若指定批注具有动作字典,此函数将返回 ActionID

ActionID 可与 GetActionType 和 GetActionDest 函数一起使用,也可与 GetOutlineActionID 返回的值比较,以确定注释操作是否与大纲操作共享

语法

Delphi

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

ActiveX

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

DLL

int DLGetAnnotActionID(int InstanceID, int Index);

参数

Index注释索引,页面上的第一条注释索引为 1

返回值

返回注释主动作的动作 ID;注释没有动作时返回 0