AttachAnnotToForm

表单字段、注释和热点链接

描述

此函数会将注释附加到文档表单

使用 IsAnnotFormField 函数检查指定注释能否附加到文档表单,以及当前是否已附加

语法

Delphi

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

ActiveX

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

DLL

int DLAttachAnnotToForm(int InstanceID, int Index);

参数

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

返回值

0无法将指定注释附加到文档表单
1已成功将指定注释附加到文档表单