Accusoft.FormDirector3.Net - Updated
Use OtherDataItems: An Example
FormDirector3 for .Net - User Guide > How To > Use Other Features > Use OtherDataItems: An Example

FormAssist uses the OtherDataItems property of the Field class to store a classifier of the field; the field is classified by the output of its operations.

To do this FormAssist creates and adds a DataItem to the OtherDataItems collection. It sets classification by setting the DataItem Content string to one of the values: “OMR”, “Clip”, “ICR”, or “OCR”. And in order to distinguish this classification DataItem from a collection of possibly many DataItems, FormAssist sets the Type string to “Pegasus/Type”.

The code samples below demonstrate the same.

C# Example
Copy Code
dataItem.Type = "Pegasus/Type";  //This specifies that ICR, OCR or OMR versions of recognition are used for the field being processed.
C# Example
Copy Code
dataItem.Content = "ICR";  //Specifies ICR recognition is being used for the field.
dataItem.Content = "OCR"; //Specifies OCR recognition is being used for the field.
dataItem.Content = "OMR"; //Specifies OMR recognition is being used for the field.
field.OtherDataItems.Add(dataItem); //Add the dataItem to the field

 

See Also