Click or drag to resize

PageDetectFillingMethod Method

This method tries to detect the filling method of the existing user zone set.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void DetectFillingMethod()
Remarks

Only zones with the FM_DEFAULT filling method will be part of the set used for detection. This method involves detailed analysis functions that fine-tune and modify the existing user zone layout, especially if auto zones exist.

If no OCR zone set exists, calling this method creates it.

The auto-zoning settings can be accessed through the DecompMethod, NongriddedTableDetect, AutoZoning_Column, AutoZoning_Table, AutoZoning_Graphics and AutoZoning_Form properties of the Document object. If the related page is not yet preprocessed, the DetectFillingMethod method automatically invokes image preprocessing. This method finally synchronizes the UserZones collection to the OCRZones collection before returning.

Calling this method changes the related page properties as follows: The Characters collection is cleared. The DecompTime property is recalculated and the other properties of the Statistics object except for the ImageLoadTime and PreprocTime properties will be zero. The Recognized property is cleared.

Calling this method sets the Modified property of the related Document to True.

See Also