Anchors#

Anchors are blocks in the processed document that the Robot uses to determine where specific data is placed within the document.

Anchors define the boundaries of specific Attributes. There can be an unlimited number of Anchors, depending on the type of document.

Tools for Working with Anchors#

When creating a new Anchor, a list of properties and tools for working with the Anchor opens on the workspace panel.

The main tools for working with Anchors:

No.ToolDescription
1.button

Allows you to add a new Anchor.

The button allows you to add a new subordinate Anchor; you need to select the property “New subordinate anchor” from the list.

2.button Allows you to move the Anchor up.
3.button Allows you to move the Anchor down.
4.button Allows you to copy the selected Anchor and automatically add a new Anchor with the specified settings.
5.button Allows you to delete the selected Anchor.
6.button Allows you to add a new binding to the selected Anchor.
7.button Allows you to delete the selected binding.
8.button Allows you to move the binding up.
9.button Allows you to move the binding down.

Anchor Settings#

Anchor settings parameters:

No.ParameterParameter Value
1.IDAnchor identifier. Assigned automatically.
2.Anchor BindingsList of anchor bindings.
3.Type

Type of Anchor. Selected from a dropdown list:

  • Text – text;
  • Table – table or table cell;
  • Packet – a packet of interchangeable Anchors (when binding to this Anchor, its subordinate Anchors will be taken, with the first being the Anchor successfully found from the list).
4.Value

Value of the Anchor.

For Anchors of type “Text”, wildcard characters can be specified: (*)(?).

For Anchors of type “Table”, the value is recorded in the format:

“Table index:Row index:Column index”

Example for an Anchor of type “Text”:

“*region* insur*”

(two words when “Separate words” is enabled)

Examples for an Anchor of type “Table”:

“0:1:2”

(table 0, row 1, column 2)

“1:2”

(table 1, row 2)

“2”

(entire table 2)

5.Operation Mode

Operation mode of the Anchor.

Possible values:

  • Default – the Anchor is required on the first page of a multi-page document;
  • LastPage – the Anchor will be required in a multi-page document and will point to the last page;
  • Optional – optional Anchor. If it is not found on the page, no error is generated.
6.Value Check Mode

Select the value check mode.

Possible values:

  • Default (by default);
  • EveryWordContains (checks each word in the value as a substring in the string. Example: “test” => ”*test*”);
  • RemoveNonWordSymbols (removes all non-numeric and non-letter symbols during the check).
7.Separate WordsThe value of the Anchor is split into words, and each word is searched separately.
8.Ignore CaseWhen enabled, case sensitivity will be ignored.
9.Number of BlocksIf the “Separate Words” setting is enabled, there may be a situation when multiple block values corresponding to the specified words can be found in the designated area during the Anchor search.

This property allows limiting the maximum number of words between blocks.
10.Check Block PositionWhen enabled, the position of blocks is checked relative to the Y coordinate, and blocks with the smallest value are taken.
11.Reverse SearchWhen enabled, the Anchor search will proceed from the bottom of the page.
12.Capture Nearby BlocksCapture of nearby Anchor blocks.

Allows capturing nearby blocks from the already captured value in the Anchor.

For example, if you specify +2-1, then nearby blocks (2 blocks to the right and 1 block to the left) will be added to the already captured Anchor.

This property can be used when it is not possible to establish a complete stable value for the Anchor, but part of it has a stable value.
13.Image Percentage

The percentage of the image in which the Anchor will be searched.

The value must be recorded as a single number or two numbers separated by a dash.

For example:

30 (0-30) - 0-30% of the image will be used;
30-70 - part of the image will be used;
70-100 - the lower 30% of the image will be used.

14.DescriptionUser description of the Anchor.
15.Subordinate Anchors

Anchors that directly depend on the parent Anchor.

The search for subordinate Anchors will occur only after the main/parent Anchor has been found.

In case:

  • the parent Anchor settings specify the Optional mode (i.e., the Anchor is not mandatory),
  • the parent Anchor was not found,

the search for subordinate Anchors will not be performed, and the Anchors will be skipped.

This parameter is used if the Attribute is located in the middle of a multi-page document.