SetAnnotIntProperty
Annotations and hotspot links
Description
Sets an integer property of the specified annotation.
Syntax
Delphi
function TPDFlib.SetAnnotIntProperty(Index, Tag, NewValue: Integer): Integer;ActiveX
Function PDFlib::SetAnnotIntProperty(Index As Long, Tag As Long, NewValue As Long) As LongDLL
int DLSetAnnotIntProperty(int InstanceID, int Index, int Tag, int NewValue);Parameters
| Index | The index of the annotation. The first annotation on the page has an index of 1. 116 = Page number of "GoToR" action (1 is first page) 131 = Page number of "GoTo" action |
|---|---|
| Tag | The new value of the specified annotation and property. |
| NewValue |
Return values
| 0 | The annotation specified by the Index parameter was out of range or the Tag parameter was not valid |
|---|---|
| 1 | The annotation property was set successfully |