LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetSpellCheckCallback Method
See Also 
Leadtools.Forms.Ocr Namespace > IOcrSpellCheckManager Interface : SetSpellCheckCallback Method



callback
The user defined spell checking callback. Or null (Nothing in Visual Basic) to turn off user defined spell checking.

The SetSpellCheckCallback Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

callback
The user defined spell checking callback. Or null (Nothing in Visual Basic) to turn off user defined spell checking.
Sets the global user defined spell checking callback.

Syntax

Visual Basic (Declaration) 
Sub SetSpellCheckCallback( _
   ByVal callback As OcrSpellCheckCallback _
) 
Visual Basic (Usage)Copy Code
Dim instance As IOcrSpellCheckManager
Dim callback As OcrSpellCheckCallback
 
instance.SetSpellCheckCallback(callback)
C# 
void SetSpellCheckCallback( 
   OcrSpellCheckCallback callback
)
C++/CLI 
void SetSpellCheckCallback( 
   OcrSpellCheckCallback^ callback
) 

Parameters

callback
The user defined spell checking callback. Or null (Nothing in Visual Basic) to turn off user defined spell checking.

Example

For an example, refer to SetSpellCheckCallback.

Remarks

This callback should be used for zones where the accuracy of the recognition could be improved by providing the recognition module involved with additional checking information derived from the application.

For more information about the spell checking system, refer to IOcrSpellCheckManager.

Note: This method is not supported in the LEADTOOLS OCR Advantage Engine, any call to this method will have no effect.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

SetSpellCheckCallback requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features