GetTextAnnotOpen

Annotations and hotspot links

Description

Reads whether a Text annotation pop-up starts open

An absent /Open entry reports False

Syntax

Delphi

Function GetTextAnnotOpen(Index: Integer; Out IsOpen: Boolean): Integer;

Parameters

IndexOne-based annotation index on the currently selected page; the annotation must be a Text annotation
IsOpenReceives the /Open flag; False when the entry is absent

Return values

1The flag was read, including the False default when /Open is absent
0No document is loaded, Index does not address a Text annotation, or /Open is not a Boolean; IsOpen stays False