Question
How to inflate block in the FlexiLayout Studio?
Answer
It is possible to inflate the region of the element within the block. To do so, use Expression in the block properties:
The full path of the element could be found in the properties of the element:
Expression sample:
Rect outputRect;
outputRect = SearchElements.Invnum.Rect;
outputRect.Inflate(10dt, 10dt);
OutputRegion = outputRect;
Results:
Comments
2 comments
Jörg Loring
If no zone could be determined by the searchelement, this method apparently results in a mini zone appearing at position 0,0 with the dimensions 10,10 during document extraction. How can this be avoided? Not setting OutputRegion under certain conditions, e.g. if the region was not found, leads to an error in the FlexiLayout. Does anyone have an idea?
Dmytro Bezus
Hello Jörg,
With the following condition, you may define block region if it wasn't found:
In addition, you may find more samples in the public user folder:
%public%\ABBYY\FlexiCapture\12.0\Samples\FLS\Tips and Tricks
https://help.abbyy.com/en-us/flexicapture/12/flexilayout_studio/general/
Kind Regards,
Dmytro
Please sign in to leave a comment.