SnapCCOtoDCO

Transfers the recognition results in the current page's CCO file - its Fingerprint file - to the appropriate Field objects of the Document Hierarchy...its setup DCO.

Member of namespace

Recog_Shared

Syntax

bool SnapCCOtoDCO ()

Parameters

None.

Returns

False if a ruleset with this action is not bound to a Page object or Field object of the Document Hierarchy. Otherwise, True.

Level

Page or Field level.

Details

This action transfers the recognition results of the current page's CCO file to the appropriate Field objects of the Document Hierarchy (DCO). Note that the action only transfers values to Field objects.
SnapCCOToDCO will only clear / update field text when all of the following conditions are met:
  • Field is not an OMR field, for example var RecogType=4).
  • Field has positions assigned.
  • Field does not have the variable v_skipsnap set to 1.
  • Field has data mapping to the CCO, at least one character.
  • Fixes issue that would affect processing of reserved fields. For example, fields that are used for anchor finding are followed by snapping of data.
Example
SnapCCOtoDCO()