Leadtools.Document Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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

Refer to GetRecognizedCharacters 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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Documentrequires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features