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.

RectangleList is a collection of rectangular areas on an image. Use it to add, remove, or clear rectangles in a region.

Methods

Add

Rectangle Add(int left, int top, int right, int bottom);
Rectangle Add(Rectangle rectangle);
Adds a rectangle to the list. Returns the added rectangle.
  • The first overload creates a new rectangle from boundary coordinates.
  • The second overload adds an existing rectangle.

Remove

bool Remove(Rectangle rectangle);
bool Remove(int rectangleIndex);
Removes a rectangle from the list. Returns true if the rectangle was removed, false otherwise.

Clear

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

Rectangle

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

ImageRegion

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

ImageRegionList

A collection of field regions on an image.

Object model

Full JavaScript object reference for use in Advanced Script Rules.