SetTextAnnotOpen

Annotations and hotspot links

Description

Controls whether a Text annotation pop-up starts open

Rejects annotations whose subtype is not Text

Syntax

Delphi

Function SetTextAnnotOpen(Index: Integer; IsOpen: Boolean): Integer;

Parameters

IndexOne-based annotation index on the currently selected page; the annotation must be a Text annotation
IsOpenTrue to show the pop-up open or False to keep it closed, written as /Open

Return values

1/Open was written
0No document is loaded or Index does not address a Text annotation