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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

DynaPDF.FlattenAnnots

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 )

Parameters

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"

Result

Returns number or error message.

Description

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


DynaPDF.FindText   -   DynaPDF.FlattenForm

Feedback: Report problem or ask question.




Links
MBS FileMaker blog