On Region Change

When it is launched

The script is launched prior to modifying a region in the image window.

  • If the AllowChangeRegion.Value property is set to true, the region will be changed after the script execution.
  • If the AllowChangeRegion.Value property is set to false, the region will not be changed.

By default, the value of the AllowChangeRegion parameter is true.


Name Type Access Description
AllowChangeRegion IBoolean Read/write Specifies whether to change the region.
Context IFieldRegionControl Read/write The region
NewRegionParam IShellRects Read/write

Rectangles of the region. For tables, the whole table region is passed.

Note: When changing a container of the region, a new region of this container is returned and new regions of its child elements are not returned. When changing the region of a child element, only a new region of this child element is returned. For tables, the table region is always returned, also when changing a column or row region.

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.