FlattenFieldsActionModel Data Type

This action is used to flatten all fields in the document.

Properties
name data type description
paintButtons boolean Flag to indicate whether push buttons should be painted or not.
paintOnlyImageButtons boolean Flag to indicate that push buttons should only be painted if they have an image (only matters if paintButtons is true).
paintNonPrintableFields boolean Flag to indicate whether non-printable fields should be painted or not.
Properties inherited from DocumentActionModel
savePath string Path to save the modified document. If not provided, the original document will be overwritten.
namingMode number The behavior when saving the modified document to a new path that already exists. Valid values are: 0-Throw a bad request exception, 1-Overwrite the existing file, 2-Append a random number to the file name.

Example

{
  "paintButtons" : true,
  "paintOnlyImageButtons" : true,
  "paintNonPrintableFields" : true,
  "savePath" : "...",
  "namingMode" : 12345
}