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
| Index | One-based annotation index on the currently selected page; the annotation must be a Text annotation |
|---|---|
| IsOpen | Receives the /Open flag; False when the entry is absent |
Return values
| 1 | The flag was read, including the False default when /Open is absent |
|---|---|
| 0 | No document is loaded, Index does not address a Text annotation, or /Open is not a Boolean; IsOpen stays False |