GdPicture14 Namespace / GdPictureOCR Class / OCRMode Property

In This Topic
OCRMode Property (GdPictureOCR)
In This Topic
Defines the OCR mode to be used during subsequent OCR processes. You can choose between speed or accuracy.
Public Property OCRMode As OCRMode
public OCRMode OCRMode {get; set;}
public read-write property OCRMode: OCRMode; 
public function get,set OCRMode : OCRMode
public: __property OCRMode get_OCRMode();
public: __property void set_OCRMode( 
   OCRMode value
property OCRMode OCRMode {
   OCRMode get();
   void set (    OCRMode value);

Property Value

The default value is OCRMode.FavorAccuracy.
It is recommended to set this parameter to OCRMode.FavorAccuracy for low quality images.
How to set the required OCR mode.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
    gdpictureOCR.OCRMode = OCRMode.FavorAccuracy
    'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
    gdpictureOCR.OCRMode = OCRMode.FavorAccuracy;
    //You can do your another stuff with gdpictureOCR here.
See Also