ResourcesFolder Property (GdPictureOCR)
In This Topic
Specifies the path to the directory containing the engine resources (mostly dictionaries).
Syntax
'Declaration
Public Property ResourcesFolder As String
public string ResourcesFolder {get; set;}
public read-write property ResourcesFolder: String;
public function get,set ResourcesFolder : String
public: __property string* get_ResourcesFolder();
public: __property void set_ResourcesFolder(
string* value
);
public:
property String^ ResourcesFolder {
String^ get();
void set ( String^ value);
}
Property Value
The default value is an empty string.
Example
How to specify the correct path to OCR dictionaries.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.ResourcesFolder = "\GdPicture.Net 14\redist\OCR"
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.ResourcesFolder = "\\GdPicture.Net 14\\redist\\OCR";
//You can do your another stuff with gdpictureOCR here.
}
Example
How to specify the correct path to OCR dictionaries.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.ResourcesFolder = "\GdPicture.Net 14\redist\OCR"
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.ResourcesFolder = "\\GdPicture.Net 14\\redist\\OCR";
//You can do your another stuff with gdpictureOCR here.
}
See Also