GetAnnotReplyTo
Annotations and hotspot links
Description
Returns the 1-based annotation index referenced by the selected annotation's /IRT entry
Use it to resolve the parent annotation for threaded replies and review-state annotations without reading generic annotation property tags directly
Syntax
Delphi
Function TPDFlib.GetAnnotReplyTo(Index: Integer): Integer;
Parameters
Index is the 1-based index of the annotation on the selected page
Return Values
Returns the 1-based target annotation index, or 0 when the annotation has no /IRT entry or the referenced annotation is not on the selected page
Remarks
Pair with GetAnnotReplyType to inspect the /RT relationship name. AddAnnotationReply writes normal replies with /RT /R