Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

ImageRegionList is a collection of image regions on a document. Use it to add, remove, or clear regions on a field.

Methods

Add

ImageRegion Add(ImageRegion imageRegion);
ImageRegion Add(Rectangle rectangle, Page page);
ImageRegion Add(Rectangle[] rectangles, Page page);
ImageRegion Add(int left, int top, int right, int bottom, Page page);
Adds a region to the list. Returns the added region.
  • The first overload adds an existing region.
  • The other overloads create a new region on the specified page — from a rectangle, an array of rectangles, or boundary coordinates.

Remove

bool Remove(ImageRegion imageRegion);
bool Remove(int imageRegionIndex);
Removes a region from the list. Returns true if the region was removed, false otherwise.

Clear

void Clear();
Removes all regions from the list.

ImageRegion

A single field region on an image, possibly composed of multiple rectangles.

Rectangle

A rectangular area on an image, with coordinates in pixels.

RectangleList

A list of rectangle areas on an image.

Page

A single document page.

Object model

Full JavaScript object reference for use in Advanced Script Rules.