Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.SetAnnotOpenState
Sets the open state of a markup or PopUp annotation.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 5.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.SetAnnotOpenState"; PDF; AnnotationHandle; State ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| AnnotationHandle | The annotation index. | 5 |
| State | The new state. Can be 0 (closed) or 1 (open) | 1. |
Result
Returns OK or error.
Description
Sets the open state of a markup or PopUp annotation.Markup annotations can be connected with a PopUp annotation that displays additional comments in a window (like a Text annotation). The open state can only be changed if the base annotation is connected with a PopUp annotation. If the base annotation contains no PopUp annotation or if the handle refers to a non- markup annotation the function does nothing.
All annotation types with exception of 3D, Link, Movie, Screen, PrinterMark, TrapNet, and Watermark are markup annotations.
See also SetAnnotOpenState function in DynaPDF manual.
See also
- DynaPDF.LineAnnot
- DynaPDF.New
- DynaPDF.SetAnnotBorderStyle
- DynaPDF.SetAnnotLineEndStyle
- DynaPDF.SetAnnotOpacity
Created 25th November 2014, last changed 25th November 2014
DynaPDF.SetAnnotOpacity - DynaPDF.SetAnnotString
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos