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 Long

DLL

int DLSetAnnotIntProperty(int InstanceID, int Index, int Tag, int NewValue);

Parameters

IndexThe 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
TagThe new value of the specified annotation and property.
NewValue

Return values

0The annotation specified by the Index parameter was out of range or the Tag parameter was not valid
1The annotation property was set successfully