Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Flatten annotations.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.2 Yes Yes Yes Yes Yes
MBS( "DynaPDF.FlattenAnnots"; PDF; Flags )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags The flags. Default is None. Can be None, UseViewState, MarkupAnnots or both combined as VisibleMarkupAnnots. "UseViewState"


Returns number or error message.


Flatten annotations.
Draws all annotations according to the used flags on the corresponding pages and deletes the annotations when finish. The flatten flags can be combined. The flag MarkupAnnots causes that non-markup annotations will be left intact (all kind of link, sound, and file attach annotations).

The function flattens only annotations which contain an appearance stream. The function does not create missing appearances on demand.

If the function succeeds the return value is the number of annotations which are still in memory.

See also FlattenAnnots function in DynaPDF manual.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014

DynaPDF.FindText   -   DynaPDF.FlattenForm

Feedback: Report problem or ask question.

MBS FileMaker Plugins