UpdateDCOField

Updates the position coordinates for the specified field in the page data file with the position of the located word.

Syntax

bool UpdateDCOField (StrParam)

Parameters

String value of the target field's name (Smart Parameter enabled), as a Field object of the Document Hierarchy. Smart parameters are supported.

Returns

False if the source page's Fingerprint file (.cco) is not available or is empty; if the target field cannot be found; or if there is no information about the target field's starting and ending sizes and locations. Otherwise, True.

Level

Page or Field level.

Details

This action updates the size and position coordinates of the Field object representing the field identified by the parameter. Typically, the action follows earlier actions and events which modify the field's width and height, or its precise placement on the current source page.

Do not confuse this action with the UpDateField action, which updates Text values. This action does not update a field's Text value. Instead, it modifies the size and location parameters of a field or zone.

Example
To find a sibling field 'Preparer_Name':
UpdateDCOField("..\Preparer_Name")
      
To find a child field 'Preparer_Name':
UpdateDCOField("Preparer_Name")