Show Properties dialog box, Relations tab
Show Properties dialog box, Relations tab

- To add a new relation, click the Add button. The Add New Relation… dialog box will open.
- To edit an earlier created relation, click Edit.
- Click Duplicate if you want to duplicate a selected relation.
- To remove a selected relation, use the Remove button.
- Right-click the desired element in the tree of elements and select Properties… on the shortcut menu
or - Double-click the desired element in the tree of elements and select Properties… on the shortcut menu
Specifying the boundaries of a search area relative to another element
In the dialog of adding or editing relations, specify relation parameters:- In the Type field, select the type of relation: Left of, Right of, Above or Below.
- Select a reference element by clicking the
button next to the Reference element field and then select the element relative to which you will define the search area boundaries. For instructions on defining a search area relative to subelements of a repeating group, see Using instances of a repeating Group as reference, excluded, or source elements. - In the Reference boundary field, select the boundary of the element’s region relative to which you will define the boundary of the search area.
- In the Offset field, set the offset value for the boundary of the search area.
- Click Add Relation to add a new relation or Save Changes to save the relation after editing. All relations are displayed on the Relations table.
Show dialog
Show dialog
The elements used as reference elements and the elements excluded from the search area must be located lower down the tree of elements than the element for which the constraint is being specified.
Visualization of relations
When editing relation properties or selecting a relation in the Relations table, the relation is visualized in the image window. The reference element is enclosed in a thick frame and the search area is highlighted with a green background.Show dialog
Show dialog

Show example
Show example
Selecting the element closest to a certain object
The Nearest property tells the program that, all other things being equal, it must look for a hypothesis located closest to certain element or point on the image. Specify the closest element, point, or coordinate axis in the Nearest property of the element. To instruct the program to select the element that is closest to a certain object on the image, select the Nearest option and then select the desired object from the To drop-down list: Element, X coordinate, Y coordinate, Point, Page top edge, Page bottom edge, Page left edge, Page right edge. If you select Element, enter the name of the element in the Reference element field. If you select X coordinate or Y coordinate, specify the corresponding coordinate. If you select Point, specify the coordinates of the point. The Minimum quality parameter specifies the minimum quality of element hypothesis. By default its value is set to equal the null hypothesis.The element closest to the given element is selected based on the shortest distance between element centers.
