Click or drag to resize

DocumentSetTrainingData Method

This method selects training data to be used during recognition.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void SetTrainingData(
	string Name,
	bool Embedded
)

Parameters

Name
Type: SystemString
Embedded
Type: SystemBoolean
Remarks

Training data can be created and modified with the Text Editor visual control. If the Embedded parameter is True, the Name parameter specifies the name of an embedded, custom data stream of type CD_TRAINING. If the Embedded parameter is False, the Name parameter specifies a fully qualified path to the training file. If the specified training data does not exist, a trappable error occurs. If this property is set to an empty string, no training data will be used.

Calling this method sets the Modified property to True.

See Also