ImageGear for C and C++ on Windows v19.10 - Updated
Work with Non-Rectangular Zones
User Guide > How to Work with... > OCR > How to... > Prepare the Input > Work with Zones > Work with Non-Rectangular Zones

As mentioned previously, a single zone can consist of several rectangles that form a so-called "pizza box" shape. The user can access these rectangles for both reading and writing, and also can append new rectangles and remove existing ones. The following API provides the ability to get and set the rectangles for a particular zone:

Zone rectangles can be inserted and removed using the following functions:

Function IG_REC_zone_node_array_get returns a bounding polygon of the zone.