CreateCcoFromLayout

Creates a CCO file after recognition or document conversion is performed when the recognition result is a layout XML file.

Syntax

bool CreateCcoFromLayout()

Parameters

None.

Returns

Always True.

Level

Page level.

Details

The CCO is needed for the locate actions, for click ‘n’ key during verification and other Datacap operations. Calling this action converts the results in the layout XML into a CCO so it can be utilized in other subsequent actions and Datacap clients.

CreateCcoFromLayout requires a previously created layout file (for example: tm000001_layout.xml) where text is grouped into blocks. Refer to the action you are using to perform recognition to see if that action creates a layout file or if the action automatically creates a CCO. If the recognition action, such as RecognizePageOCR_A, creates a CCO directly then calling this action separately is not required. Some Datacap actions may require a CCO and a layout file. For information on the layout XML file, see DocumentAnalytics actions.

Example

Recognize()
CreateCcoFromLayout()