1
Open each image
Open the sample images in the batch one at a time.
2
Match the FlexiLayout with the image
Select the Match command on the FlexiLayout menu or the shortcut menu of the image.

1
Open the Advanced tab of the FormHeader properties
Open the Properties dialog box for the FormHeader element, and then click the Advanced tab.
2
Add the search constraint
In the Advanced pre-search relations field, specify an additional search constraint that looks for the object closest to the bottom edge of the image. In the FlexiLayout language, enter
NearestY: PageRect.Bottom;.You can also specify the same constraint through the program’s graphical user interface. Click the Relations tab, select Nearest, and in the To: dropdown list select Page bottom edge.
The Nearest function tells the program that, out of several hypotheses for the element, it should look for the one nearest to a particular other element or point on the image (the distance between element centers is measured). Once the function is executed, only one hypothesis remains. This function does not take into account the quality of the hypotheses, as the choice is made at the stage when hypotheses are still being generated.
