SetAnnotStrProperty

注释和热点链接

描述

设置指定注释的字符串属性

语法

Delphi

Function TPDFlib.SetAnnotStrProperty(Index, Tag: Integer; Const NewValue: WideString): Integer;

ActiveX

Function PDFlib::SetAnnotStrProperty(Index As Long, Tag As Long, NewValue As String) As Long

DLL

int DLSetAnnotStrProperty(int InstanceID, int Index, int Tag, const wchar_t * NewValue);

参数

Index注释索引,页面上的第一条注释索引为 1
Tag102 = 内容 103 = 名称 104 = 修改日期 110 = 主题 111 = 链接注释的 URL 113 = "Launch" 操作的 "Win" 文件名 114 = "Launch" 操作的 "F" 文件名 115 = "GoToR" 操作的 "F" 文件名 127 = 主题 129 = "Launch" 操作的 "UF" 文件名 130 = "GoToR" 操作的 "UF" 文件名
NewValue指定注释和属性的新值

返回值

0有关此功能、参数或返回值的说明
1已成功设置注释属性