ImageGear for .NET
Adding Zones from a Zone File
Send Feedback
ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.Recognition Namespace > Preparing the Image for Recognition > Working with Zones > Adding Zones > Adding Zones from a Zone File

Glossary Item Box

The third way of creating zones is by reading zones from a file (called a zone file) that contains the attributes of previously saved zones. An application can save the current zone definitions to a zone file any time with the ImGearRecZoneCollection.SaveToFile Method. The application can load them from a zone file with the LoadFromFile Method.

When a zone file is loaded, any previous zones on the image are removed.

If the application calls the ImGearRecPage.Recognize Method on an image with an empty zone list, the page-layout decomposition method is called automatically. 

©2013. Accusoft Corporation. All Rights Reserved.