Overview
The 'PDF - Flatten' action removes all fields and other objects from a PDF document replacing them with their values to create a 'Flat' PDF document.
Guidance
The 'PDF - Flatten' action flattens editable form fields into a static value, it will not flatten multiple document layers contained within a PDF document. To flatten multiple PDF document layers use the 'Convert PDF to PDF/A' action.
Credit Count
This action consumes 1 credit per operation.
Note, different Encodian actions can consume different number credits. Please always check the action specific documentation and read What is an Encodian Action for a full description of how credits are consumed.
Default Options
The default 'PDF - Flatten' flow action parameters are detailed below:
- File Content: A Base64 encoded representation of the PDF file to be processed.
Please refer to the Obtaining the 'File Contents' Parameter article for guidance on how to obtain the 'File Content' parameter ready to provide to an Encodian flow action.
Return Parameters
The 'PDF - Flatten' flow action returns the following data.
Action Specific Return Values
- File Content - The compressed PDF document (Base64)
Standard Return Values
- OperationId - The unique ID assigned to this operation.
- HttpStatusCode - The HTTP Status code for the response.
- HttpStatusMessage - The HTTP Status message for the response.
- Errors - An array of error messages should an error occur.
- Operation Status - Indicates whether the operation has been completed, has been queued or has failed.
0 Comments