SetAnnotStrPropertyA
注释和热点链接
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。行为与 SetAnnotStrProperty 相同,字符串参数按当前 SetAnsiMode 代码页解释
设置指定注释的字符串属性
语法
Delphi
Function DLSetAnnotStrPropertyA(InstanceID, Index, Tag: Integer; NewValue: PAnsiChar): Integer;
DLL
int DLSetAnnotStrPropertyA(int InstanceID, int Index, int Tag, const char * NewValue);
参数
| Index | 注释索引,页面上的第一条注释索引为 1 |
|---|---|
| Tag | 102 = 内容 103 = 名称 104 = 修改日期 110 = 主题 111 = 链接注释的 URL 113 = "Launch" 操作的 "Win" 文件名 114 = "Launch" 操作的 "F" 文件名 115 = "GoToR" 操作的 "F" 文件名 127 = 主题 129 = "Launch" 操作的 "UF" 文件名 130 = "GoToR" 操作的 "UF" 文件名 |
| NewValue | 指定注释和属性的新值 |
返回值
| 0 | Index 参数指定的注释超出范围,或 Tag 参数无效 |
|---|---|
| 1 | 已成功设置注释属性 |