SetAnnotContents
注释和热点链接
描述
更改注释的内容
语法
Delphi
Function TPDFlib.SetAnnotContents(Index: Integer; Const NewContents: WideString): Integer;
ActiveX
Function PDFlib::SetAnnotContents(Index As Long, NewContents As String) As Long
DLL
int DLSetAnnotContents(int InstanceID, int Index, const wchar_t* NewContents);
int DLSetAnnotContentsA(int InstanceID, int Index, const char* NewContents);
参数
| Index | 注释索引,页面上的第一条注释索引为 1 |
|---|---|
| NewContents | 注释的新内容 |
返回值
内容修改成功后返回 1。Index 不是当前页面上注释的标识时返回 0。