Skip to main content
These functions can be used for debugging prints. You can run print commands after specifying a set of instructions that limit the search area, to see the results of these instructions. The functions listed in the following table are only available in the Advanced pre-search relations section.

Example: print the search area of an element

In the Advanced pre-search relations section, type the following code for the selected element:
or equivalent code
The Str function converts the results into the string format required for printing. The results (information about the coordinates and the size of the fuzzy rectangle of the selected element, InternalRect and ExternalRect) appear in the Properties window. To view the results, select the corresponding element in the tree of hypotheses and then hover over the Pre-search print line in the Properties window. The value may not fit within the Pre-search print line, but the Pre-search print pane below the Properties window shows the complete print results.
When printing the results of the ExcludedRects function (Print: Str(ExcludedRects());), select the Pre-search print line in the Properties window to see the results.
Screenshot of the Properties window and the Pre-search print pane in ABBYY FlexiLayout Studio showing the search area print results returned by the SearchArea debug function.