English (English) - Change language

Sample 3. Step 22: Describing the name of the Total fields with a kwTotal element

You will have noticed that the name of the Total Quantity and Total Amount fields may be represented by the keywords ”TotalChf” or ”Carried Over” and is located in the lower left part of the page.

To create the kwTotal element:

  1. In the Footer element, create an element of type Static Text and name it kwTotal.
  2. Click the Static Text tab.
  3. In the Search text field, specify the values for the sought text: “TotalChf|CarriedOver”.
  4. Set Max error percentage to 30.
  5. Click the Advanced tab.
  6. Since the name is located in the left half of the page and the sought string is nearest to the top edge of the page, set the following additional search constraint in the Advanced pre-search relations field:Look for the object in the left half of the page; Look for the object nearest to the top edge of the page.In the FlexiLayout language:
    LeftOf: PageRect.Left + PageRect.Width/2;
    NearestY: PageRect.Top;
  7. Try matching the FlexiLayout with the test images and make sure that the program successfully detects the element on all the images where applicable.

10/9/2020 8:50:41 AM


Please leave your feedback about this article