UserZones.RestoreUserZones Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
Several processing functions alter the existing user zone set (LocateZones, DetectFillingMethod, CreateFormTemplate, ApplyFormTemplate, ApplyZoneTemplate, Recognize). Before changing the UserZones collections, these methods store the original zone set to provide a way to restore that zone set if required. This method returns True if there is an existing backup zone list and it was successfully restored.
After the first successful execution, this method deletes the backup zone list. Therefore, a new call to this method will return with an error if none of the above processing functions were called between the two calls.
Calling this method sets the Modified property of the Document object to True.