Leadtools.Document Deprecated as of v16. Refer to: Leadtools.Forms.Ocr | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetRecognizedCharacters Method
See Also 
Leadtools.Document Namespace > RasterDocumentEngine Class : SetRecognizedCharacters Method



pageIndex
Specifies the index of the page that will be updated with the recognized characters. This index is zero-based.
characters
A list of RasterDocumentRecognizedCharacters structures which contain the recognized characters that need to be updated.
pageIndex
Specifies the index of the page that will be updated with the recognized characters. This index is zero-based.
characters
A list of RasterDocumentRecognizedCharacters structures which contain the recognized characters that need to be updated.
Updates the recognized characters for specific recognized page.

Syntax

Visual Basic (Declaration) 
Public Sub SetRecognizedCharacters( _
   ByVal pageIndex As Integer, _
   ByVal characters As IList(Of RasterDocumentRecognizedCharacters) _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterDocumentEngine
Dim pageIndex As Integer
Dim characters As IList(Of RasterDocumentRecognizedCharacters)
 
instance.SetRecognizedCharacters(pageIndex, characters)
C# 
public void SetRecognizedCharacters( 
   int pageIndex,
   IList<RasterDocumentRecognizedCharacters> characters
)
C++/CLI 
public:
void SetRecognizedCharacters( 
   int pageIndex,
   IList<RasterDocumentRecognizedCharacters>^ characters
) 

Parameters

pageIndex
Specifies the index of the page that will be updated with the recognized characters. This index is zero-based.
characters
A list of RasterDocumentRecognizedCharacters structures which contain the recognized characters that need to be updated.

Example

Remarks

This method will update the recognized characters for specific recognized page using the recogCharacters array. This method can be called after a successful recognition process started by calling Recognize. This method should not be called before calling Recognize. To get the recognized characters for a specific recognized page, call RasterDocumentEngine.GetRecognizedCharacters. To save the updated recognized characters to a file, call SaveResultsToFile. Also, To save the results into memory, call SaveResultsToMemory.
For more information, refer to Recognizing Document Pages.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

The Leadtools.Document namespace is deprecated and no longer supported as of LEADTOOLS v16. For v16 and later, please refer to: Leadtools.Forms.Ocr. This documentation is retained for v15 and earlier informational use only.