Sample 2. Step 16: Creating a CookingTimeHeader element
To create the CookingTimeHeader element:
- Create an element of type Static Text and name it CookingTimeHeader.
- Click the Static Text tab.
- In the Search text field, type the text to search: minutes|hour|hours.
- Set Max error percentage to 10.
- Click the Advanced tab.
- The field which contains the cooking time is located below all the other objects on the image. This means that you can set an additional search constraint in the Advanced pre-search relations field:Search for the object closest to the bottom of the page. In the FlexiLayout language this must be written as follows:
NearestY: PageRect.Bottom;
Note.The same constraint can also be specified via the program’s graphical user interface. Click the Relations tab, select Nearest, and in the To drop-down list select Page bottom edge.
4/12/2024 6:16:02 PM