SmartZone v6.1 for .NET - Updated
SmartZoneOCR Constructor(String,Language)




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > SmartZoneOCR Class > SmartZoneOCR Constructor : SmartZoneOCR Constructor(String,Language)
Specifies the path to the SmartZone OCR resource directory.
Specifies the recognition language.
Initializes a new instance of the SmartZoneOCR class with the path to the SmartZone OCR resources directory and language for recognition.
Syntax
'Declaration
 
Public Function New( _
   ByVal OCRDataPath As String, _
   ByVal language As Language _
)
'Usage
 
Dim OCRDataPath As String
Dim language As Language
 
Dim instance As New SmartZoneOCR(OCRDataPath, language)
public SmartZoneOCR( 
   string OCRDataPath,
   Language language
)
public: SmartZoneOCR( 
   string* OCRDataPath,
   Language language
)
public:
SmartZoneOCR( 
   String^ OCRDataPath,
   Language language
)

Parameters

OCRDataPath
Specifies the path to the SmartZone OCR resource directory.
language
Specifies the recognition language.
Remarks

SmartZone OCR data files are now packaged in folder assets rather than embedded within its assembly. By default, this folder is expected in the same directory as the assembly. However, this folder can be deployed elsewhere and located at runtime with OCRDataPath.

IMPORTANT: The path to the SmartZone OCR resource directory may only use ANSI characters.

See Also

Reference

SmartZoneOCR Class
SmartZoneOCR Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.