Sample 3. Step 16: Detecting the name of the Quantity column with a kwQuantity element
Analysis of the pre-recognition results reveals that even though the name is a very short keyword “Qty,” we can detect the name by using an element of type Static Text. Set the maximum error percentage to 35; this allows one wrong character in a three-letter word.
To create the kwQuantity element:
- In the TableHeader element, create an element of type Static Text nd name it kwQuantity.
- Click the Static Text tab.
- In the Search text field, enter the text to find: “Qty”.
- Set the Max error percentage to 35.
- Click the Advanced tab.
- Since the name of the Quantity column is located to the right of the leftmost third of the image, set the following additional search constraint in the Advanced pre-search relations field:Look for the object to the right of the leftmost third of the page.In the FlexiLayout language:
RightOf: PageRect.Left + PageRect.Width/3; - Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images.
4/12/2024 6:16:02 PM