This action is used to flatten all annotations in the document.
| name | data type | description |
|---|---|---|
| paintNonPrintableAnnots | boolean | Flag to indicate if non-printable annotations should be painted. |
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
{
"paintNonPrintableAnnots" : true,
"savePath" : "...",
"namingMode" : 12345
}