Sample 2. Step 21: Creating a Serves element
To create the Serves element:
- Create an element of type Static Text and name it Serves.
- Click the Static Text tab.
- In the Search text field, type the text to search: Serves.
- Set Max error percentage to 20.
- Click the Advanced tab.
- In the Advanced pre-search relations field, specify an additional search constraint:Look for the object closest to the cooking time. In the FlexiLayout language this must be written as follows:
Nearest: SearchElements.Cooking.CookingTimeHeader;
Note.The same constraint can also be specified via the program’s graphical user interface. Click the Relations, select Nearest, and in the To drop-down list select Element and specify CookingTimeHeader as the Reference element.
4/12/2024 6:16:02 PM