SetCaretAnnotSymbol

Annotations and hotspot links

Description

Writes the symbol associated with a Caret annotation

Rejects non-Caret annotations and raises the document minimum version to PDF 1.5

Syntax

Delphi

Function SetCaretAnnotSymbol(Index: Integer; Symbol: TPDFlibCaretSymbol): Integer;

Parameters

IndexOne-based annotation index on the currently selected page; the annotation must be a Caret annotation
SymbolacsNone for /Sy /None or acsParagraph for /Sy /P

Return values

1/Sy was written and the document minimum version was raised to PDF 1.5
0No document is loaded, Index does not address a Caret annotation, or Symbol is outside the enumeration