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
| Index | One-based annotation index on the currently selected page; the annotation must be a Text annotation |
|---|---|
| IsOpen | True to show the pop-up open or False to keep it closed, written as /Open |
Return values
| 1 | /Open was written |
|---|---|
| 0 | No document is loaded or Index does not address a Text annotation |