GetAnnotContentsEx
Annotations and hotspot links
Description
Returns the plain text stored in the /Contents entry of an annotation on the selected page
For markup annotations this is the comment or note text the viewer displays; the value comes back verbatim from the annotation dictionary with no normalisation applied
Syntax
Delphi
Function TPDFlib.GetAnnotContentsEx(Index: Integer): WideString;
Parameters
| Index | 1-based annotation index on the selected page |
|---|
Return values
| text | The /Contents value as a wide string |
|---|---|
| '' | The annotation carries no /Contents entry |
See also
GetAnnotType, GetAnnotSubject, GetAnnotTitle, SetAnnotContents