English (English)

An overview of element properties

Properties of elements are specified in the Properties of %element name% dialog box or in the Properties pane. To open the Properties of %element name% dialog box, right-click an element and click Properties on the shortcut menu. After the FlexiLayout has been applied, you can also open the Properties of %element name% dialog box by double-clicking an element in the hypotheses tree.

All properties of an element other than its name and comment serve to describe the object that needs to be found (the object represented by the element), i.e. they describe its properties and search area. Properties of elements can be divided into the following groups:

  • General properties
    These properties do not depend on the type of element and are specified on the General tab:
    • Name is the name of an element. The name of an element may contain letters (Roman characters, Roman characters with diacritics, Cyrillic characters), digits, and underscores. The name of an element must start with a letter or an underscore. The name of an element must not contain spaces or any of the following special symbols: ' . ', ' , ', ' : ', ' - ', ' \ ', ' / '. The name of an element may not coincide with any of the reserved words or FlexiLayout language predefined types.
    • Full name is the full name of the element. It consists of the name of the FlexiLayout to which the element belongs and the name of the element itself.
    • Comment is a comment or description of an element provided by the user.
    • Search Control specifies whether the element is required, optional, or prohibited. For details, see the Required, optional, and prohibited elements section.
    • Null hypothesis quality is the quality of the null hypothesis (this property is available if Optional element is selected in the Search Control section). The default value is 0.97.
    • Do not find element if can be used to specify a condition that, when satisfied, prevents the program from looking for the element. The condition is based on whether or not the reference element was detected. If you specify more than one condition, the Do not find element if command will only work if all of the conditions are satisfied.
    • Number of surviving hypotheses - the user can use this parameter to limit the number of hypotheses which the program may use when looking for the subsequent element. By default, this parameter is set to 5 for simple elements, and to 1 for Group elements.
    • Min number of found subelements is the minimum number of detected subelements to consider the element detected. This property is available only for compound elements (i.e. Group , Header, Footer, Repeating Group , and Line of Elements).
  • Properties that describe the geometrical features of an object

These properties are specified on the tab which names the type of the element. Each type of element has its own set of geometrical properties. For details, see the section of this help file where the corresponding element is described.

  • Properties that describe the search area

These properties are specified on the Search Constraints tab. For the Currency, Date, Phone, Character String, Static Text, and Paragraph elements, vertical text recognition is additionally available.

  • Properties that define the search area of an object relative to other elements

These properties are independent of the element type and are specified on the Relations tab.

  • Properties that describe additional search constraints

These properties are specified on the Advanced tab and are checked during and after the search.

  • Element fields

An element field is a typed variable that belongs to an element. Element fields are defined ion the Advanced tab. For more about element fields, refer to the Element fields section.

You can open several properties dialog boxes of elements at a time. This makes it possible to copy the properties of one element to another, but only properties that are inherent to the target element (so you cannot, for example, copy the Max width property to a Static Text element). You can also copy the value of an object's property from the Properties dialog box and paste this value to the properties dialog box of an element.


Required, optional, and prohibited elements

Search area

Additional search constraints

12.04.2024 18:16:02

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.