LoadMainDictionary Property (GdPictureOCR)
In This Topic
Defines, whether the engine should load the main dictionary for all added languages.
Syntax
'Declaration
Public Property LoadMainDictionary As Boolean
public bool LoadMainDictionary {get; set;}
public read-write property LoadMainDictionary: Boolean;
public function get,set LoadMainDictionary : boolean
public: __property bool get_LoadMainDictionary();
public: __property void set_LoadMainDictionary(
bool value
);
public:
property bool LoadMainDictionary {
bool get();
void set ( bool value);
}
Property Value
The default value is true.
Example
How to disable the main dictionary.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.LoadMainDictionary = False
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.LoadMainDictionary = false;
//You can do your another stuff with gdpictureOCR here.
}
Example
How to disable the main dictionary.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
gdpictureOCR.LoadMainDictionary = False
'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
gdpictureOCR.LoadMainDictionary = false;
//You can do your another stuff with gdpictureOCR here.
}
See Also