CIB pdf toolbox technical guide (EN)

4. Possibilities of form use

4.3. Removing form fields but keeping the view

It is possible to remove form fields from PDF documents, but keeping the visual "view" of these form fields. To do this, the FlattenFormfields property must be set “1” when “Pdf Join” is called.

Propery description

Type

Functionality

Kind

FlattenFormfields

String

If this property is set "1", the form fields are removed, but the optical "view" of these form fields is maintained. Possible values:

„0“: Nothing will be done. (default)

„1“: All form fields are removed, but the visual "view" of these form fields is retained.

However, only form fields that are also visible on the screen remain visible. For example, if a form field is only visible when printing, it will not be visible after calling FlattenFormfields.

Furthermore, all visual effects caused by JavaScript are not visible either. The view after calling "FlattenFormfields" is the same like if viewing with a PDF viewer with deactivated JavaScript.

If OutputFormat=FormatText, the content of the form fields is written to the text output.

Set