FindZones method (ILEADRasterDocument)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short FindZones (short iPageIndex, BOOL bUseImageArea);

Overview

Refer to Working with Zones

Remarks

Automatically detects all zones in the specified area of the specified page.

The method performs the analysis within the specified area of the image. It finds text or graphics blocks within the specified area. Zones found by this method are entered in a sequential list, called the zone list, which is attached to the specified page.

If the bUseImageArea parameter is FALSE, then the FindZones method will search for zones inside the area specified by the following properties:

ZoneLeft property

ZoneTop property

ZoneWidth property

ZoneHeight property

If the bUseImageArea parameter is TRUE, then the FindZones method will search the entire page for zones.

See Also

Elements:

ZoneCount property, AddZone method, UpdateZone method, RemoveZone method, ImportZones method, ExportZones method, GetZoneInfo method, SetAutoZoneOptions method, GetAutoZoneOptions method, DefaultPageFillMethod property, PageFillMethod property, ShowZoneGridLines property, EnableZoneForceSingleColumn property, ZoneHeight property, ZoneLeft property, ZoneTop property, ZoneWidth property, ZoneParser property

Topics:

Quick Reference OCR: Working with Zones