Link Search Menu Expand Document

TextRecognizer Methods

The TextRecognizer type exposes the following members.

Methods
NameDescription
Protected methodCheckOCRComponents
(Inherited from BaseRecognizer.)
Public methodClear
Releases loaded document and allocated resources.
(Inherited from BaseRecognizer.)
Public methodDispose
Releases managed resources of the component.
(Inherited from BaseRecognizer.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetOCRObjects
Performs the recognition and returns list of recognized text objects of specified level of discretization.
Public methodGetOCRObjectsAsJSON
Performs the recognition and returns the list of recognized text objects of specified level of discretization as JSON string.
Public methodGetOCRObjectsAsXML
Performs the recognition and returns the list of recognized text objects of specified level of discretization as XML string.
Public methodGetPageCount
Returns number of pages in loaded document.
(Inherited from BaseRecognizer.)
Public methodGetPageHeight
Returns document page height in pixels.
(Inherited from BaseRecognizer.)
Public methodGetPageSize
Returns document page dimensions in pixels.
(Inherited from BaseRecognizer.)
Public methodGetPageWidth
Returns document page width in pixels.
(Inherited from BaseRecognizer.)
Public methodGetPreprocessedPageBitmap
Returns preview image of document page with preprocessing filters applied.
Public methodGetText
Reads text from specified document page range.
Public methodGetType (Inherited from Object.)
Public methodLoadDocument(Byte)
Loads document from byte array.
(Inherited from BaseRecognizer.)
Public methodLoadDocument(Image)
Loads document from Image object.
(Inherited from BaseRecognizer.)
Public methodLoadDocument(Int64)
Loads document from Win32 HBITMAP structure.
(Inherited from BaseRecognizer.)
Public methodLoadDocument(Stream)
Loads document from stream.
(Inherited from BaseRecognizer.)
Public methodLoadDocument(String)
Loads document from file.
(Inherited from BaseRecognizer.)
Public methodLoadDocument(ScreenshotMaker)
Load screenshot from the main display. Use SetScreenshotArea(Int32, Int32, Int32, Int32) to set a portion of the screen to take screenshot from.
(Inherited from BaseRecognizer.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnPasswordRequired
(Inherited from BaseRecognizer.)
Public methodSaveOCRObjectsAsJSON
Performs the recognition and saves the list of recognized text objects of specified level of discretization to JSON file.
Public methodSaveOCRObjectsAsXML
Performs the recognition and saves the list of recognized text objects of specified level of discretization to XML file.
Public methodSavePreprocessedPageBitmap
Saves bitmap of document page with preprocessing filters applied. The image is saved in PNG format.
Public methodSaveText(Stream, Int32, Int32, Encoding)
Saves text from specified page range to Stream.
Public methodSaveText(String, Int32, Int32, Encoding)
Saves text from specified page range to file.
Public methodToString (Inherited from Object.)
Top
See Also

Reference