ImageGear .NET v25.1 - Updated
Create(String) Method




ImageGear.OCR Assembly > ImageGear.OCR Namespace > ImGearOCR Class > Create Method : Create(String) Method
The path to resources used by OCR engine. Argument may be null or empty. In this case, the default resource path is used.
Creates a new instance of the ImGearOCR class with the specified resource path.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal resourcePath As String _
) As ImGearOCR
'Usage
 
Dim resourcePath As String
Dim value As ImGearOCR
 
value = ImGearOCR.Create(resourcePath)
public static ImGearOCR Create( 
   string resourcePath
)
public: static ImGearOCR* Create( 
   string* resourcePath
) 
public:
static ImGearOCR^ Create( 
   String^ resourcePath
) 

Parameters

resourcePath
The path to resources used by OCR engine. Argument may be null or empty. In this case, the default resource path is used.

Return Value

OCR engine for text recognition.
Exceptions
ExceptionDescription
Initialization failed. Additional information is in the Data member of the exception.
Remarks
Creates a new object that represents the OCR engine. For best performance, only a single instance should be created per thread.
See Also

Reference

ImGearOCR Class
ImGearOCR Members
Overload List