Click or drag to resize

UserZonesRestoreUserZones Method

This method restores the cached user zone set if it exists.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public bool RestoreUserZones()

Return Value

Type: Boolean
Remarks

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.

See Also