Click or drag to resize

PageCreateFormTemplate Method

This method creates a template for form processing based on an unfilled, master form.

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

Creating form templates includes automatic preprocessing, anchor point detection and form structure decomposition. The reader is encouraged to review the form processing recommendations for efficient processing in the RecAPI documentation.

By default, this method analyzes the whole page for form objects. To specify a region of interest, add one or more form zones (of type WT_FORM) prior to calling this method. Once the CreateFormTemplate returns, you can fine tune the located form field and anchor zones prior to calling the SaveFormTemplate method. This operation creates a form template file that can be passed to the ApplyFormTemplate method of the Page or Document objects, when processing filled-in forms. This is the proper place to add modifications to the user zone set, such as changing the associated filling method, recognition module and other zone properties.

Anchor zones are technically ignore zones, so if you define custom anchors using the Image Viewer Control, or if you define custom anchor s prior to calling this method, add user zones of type WT_IGNORE. In addition to the zone type and position, supplementary information allowing the form field registration to be performed by the ApplyFormTemplate method is also created by this method.

This form template creation relates to Logical Form Recognition, not to Form Data Extraction.

See Also