SmartZone v8.0 - Updated
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / SmartZoneOCR Class / SmartZoneOCR Constructor / SmartZoneOCR Constructor(String)
The directory path to the Accusoft.SmartZoneOcr.Common library files.




In This Topic
    SmartZoneOCR Constructor(String)
    In This Topic
    Initializes a new instance of the SmartZoneOCR class with a directory path to the Accusoft.SmartZoneOCR.Common library files
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal pathToLibrary As String _
    )
    'Usage
     
    
    Dim pathToLibrary As String
     
    Dim instance As New SmartZoneOCR(pathToLibrary)
    public SmartZoneOCR( 
       string pathToLibrary
    )
    public: SmartZoneOCR( 
       string* pathToLibrary
    )
    public:
    SmartZoneOCR( 
       String^ pathToLibrary
    )

    Parameters

    pathToLibrary
    The directory path to the Accusoft.SmartZoneOcr.Common library files.
    Remarks

    The Windows native libraries are Accusoft.SmartZoneOCR.Common.dll and Accusoft.SmartZoneOCR.Common64.dll. For Linux distributions, the name of the file is Accusoft.SmartZoneOCR.CommonLinux64.so.

    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 using property OCRDataPath.

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

    See Also