Overview
The 'PDF - Validate Text Layer' validates the presence of a text layer within the PDF document provided.
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 - Validate Text Layer' flow action parameters are detailed below:
- File Content: A Base64 encoded representation of the PDF file to be processed
-
Level: Set whether each page should be checked for the presence of a text layer or the document as a single entity.
- Document: If any page within the document contains a text layer then validation is passed.
- Page: If all pages within the document contain a text layer then validation is passed
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 - Validate Text Layer' flow action returns the following data.
Action Specific Return Values
- Valid Text Layer - The result of the text layer validation (True / False)
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