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。