GetCaretAnnotSymbol
Annotations and hotspot links
Description
Reads the symbol associated with a Caret annotation
Supports the standard None and paragraph symbols
Syntax
Delphi
Function GetCaretAnnotSymbol(Index: Integer; Out Symbol: TPDFlibCaretSymbol): Integer;Parameters
| Index | One-based annotation index on the currently selected page; the annotation must be a Caret annotation |
|---|---|
| Symbol | Receives acsNone or acsParagraph; acsNone when /Sy is absent |
Return values
| 1 | The symbol was read, including the acsNone default when /Sy is absent |
|---|---|
| 0 | No document is loaded, Index does not address a Caret annotation, or /Sy is not a recognised name; Symbol stays at acsNone |