Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.SetAnnotOpenState

Sets the open state of a markup or PopUp annotation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.SetAnnotOpenState"; PDF; AnnotationHandle; State )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
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.SetAnnotOpacity   -   DynaPDF.SetAnnotString

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos