GetAnnotReplyType

Annotations and hotspot links

Description

Reads the annotation reply relationship name stored in the selected annotation's /RT entry

The value is returned without the leading slash, for example R for a normal reply

Syntax

Delphi

Function TPDFlib.GetAnnotReplyType(Index: Integer): WideString;

Parameters

Index is the 1-based index of the annotation on the selected page

Return Values

Returns the /RT name without the leading slash, or an empty string when the annotation has no reply relationship entry

Remarks

Use GetAnnotReplyTo to resolve the parent annotation referenced by /IRT. AddAnnotationReply writes normal replies with /RT /R