Visual Basic (Declaration) | |
---|---|
Public Shared Property EnginePath As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static string EnginePath {get; set;} |
Return Value
The path to the folder containing the OCR engine files.
Visual Basic | Copy Code |
---|---|
Public Sub EnginePathExample() |
C# | Copy Code |
---|---|
public void EnginePathExample(RasterDocumentEngine ocr) |
The LEADTOOLS OCR Module setup will install the OCR engine files by default to "Installation Path\Bin\Common\OCR" where Installation Path is the root folder where the LEADTOOLS for .NET Class Library is installed (for example, C:\Program Files (x86)\LEAD Technologies\LEADTOOLS 16.5).
If you leave this property empty (or with a null or Nothing in Visual Basic), the LEADTOOLS OCR engine will look for these extra files in the default installation folder specified above.
When you are ready to package your application, you might want to change the location where the LEADTOOLS OCR engine looks for these extra files. You can use this property to do that. Set the path you want before calling the Startup method.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family