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

IndexOne-based annotation index on the currently selected page; the annotation must be a Caret annotation
SymbolReceives acsNone or acsParagraph; acsNone when /Sy is absent

Return values

1The symbol was read, including the acsNone default when /Sy is absent
0No document is loaded, Index does not address a Caret annotation, or /Sy is not a recognised name; Symbol stays at acsNone