- Create an element of type Separator and name it hsTableHeaderTop.
- Click the Separator tab.
- In the Orientation group, click the Horizontal option.
- Set the Min length / Max length to 1500 / 2500.
- Click the Fits entirely within search area option.
- Set the Space, Max length to 20 and the Orthogonal shift to 20.
- Leave the default values for the other parameters of the element.

- Click the Relations tab.
-
Since the separator can only occur below the keywords of the names kwInvoiceDate and kwInvoiceNumber, set the following search constraint:
- Below the element
InvoiceHeader.kwInvoiceDate, Offset = 0 - Below the element
InvoiceHeader.kwInvoiceNumber, Offset = 0
- Below the element
- Click the Advanced tab.
-
Since the sought separator is located at the top of the described search area, set the following additional search constraint in the Advanced pre-search relations field: Look for an object on the image nearest to its top boundary. In the FlexiLayout language:
NearestY: PageRect.Top; - Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images.
