GetAnnotContentsEx
Annotations and hotspot links
Description
Returns the plain text held in the /Contents entry of an annotation on the selected page
For markup annotations this is the comment or note text shown by the viewer; the value is returned exactly as stored in 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 has no /Contents entry |
See also
GetAnnotType, GetAnnotSubject, GetAnnotTitle, SetAnnotContents