|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
|DynaPDF||4.2||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|The PDF reference returned from DynaPDF.New.|
Returns OK or error message.
Note that this function does not support XFA forms. If the form is a hybrid form, the PDF form fields will be flattened. A maybe existing XFA form will be deleted but not flattened.
Fields, which are invisible for printing, due to an absent print flag, or if the hidden flag was set, are excluded from flattening. These fields are deleted without drawing them on the page.
This function is especially useful if a large amount of Interactive Forms (which are already filled out by the user) should be prepared for printing, or if the forms should be archived without allowing further changes. Flattened forms require less disk space and can be printed faster.
XFA Forms which are created by Adobe's Designer are not fully supported. Only hybrid forms can be flatted.
Requires DynaPDF Pro license.
See also FlattenForm function in DynaPDF manual.
Make all forms flat:
Flatten annotations and form fields:
This function checks for a license.
Created 18th August 2014, last changed 29th October 2020