Creation of a FormSet Object using FormAssist
FormAssist is a good application for creating form sets for in-house solution builders, who do not need special branding of the form set creation tool or do not need the tool to be integrated into a larger product.
FormAssist is included with the FormSuite SDK and can be found in the ZIP file:
- Executable version: bin\FormAssist.exe
Or
- Source code version: demos\DemoSource\FormAssist
The application allows creation of a new form set, loading of a form set from file, and saving a form set to file.
For each form set, the following may be configured:
- name of the form set,
- full image cleanup or enhancement operations,
- the identification operation can be configured (this is identification using the Accusoft.FormFixSdk.IdentificationProcessor),
- And form definitions that are part of the form set.
For each form definition, the following may be specified:
- name of the form,
- template image of the form,
- And fields that are part of the form definition.
The following types of fields may be specified:
For each field the following may be specified:
- Name,
- Location on the template image,
- Creation operation configuration,
- Cleanup or enhancement operation configuration,
- And configuration specific to the analysis operation of the field.
With this option, the FormSet object that is passed to the Processor constructor must be completely loaded from disk, including loading any FormDefinition objects that the FormSet may refer to.
Steps to Create a FormSet File and Load it from Disk
- Create the FormSetFile object.
- Set the Filename property to the file that needs to be loaded.
- Call the Read method.
The FormSet object will then have a collection of FormDefinition objects.
- Load each FormDefinition object in the FormSet by calling the Read method. The filename of the FormDefinition does not need to be set by the calling code, because that was set when the FormSet object created the FormDefinition object.
See Also