DeleteAnnotation
註解與熱點連結
描述
從所選頁面移除註解
語法
Delphi
Function TPDFlib.DeleteAnnotation(Index: Integer): Integer;
ActiveX
Function PDFlib::DeleteAnnotation(Index As Long) As Long
DLL
int DLDeleteAnnotation(int InstanceID, int Index);
參數
| Index | 要刪除的註解索引。頁面上第一個註解的索引為 1。AnnotationCount 函式會傳回所選頁面上的註解總數。 |
|---|
傳回值
| 0 | 無法刪除指定的註解。請確認 Index 參數值介於 1 與 AnnotationCount 函式傳回值之間。 |
|---|---|
| 1 | 指定的註解已成功從頁面刪除。 |