Example





In This Topic
GdPicture14 Namespace / GdPictureOCR Class / MinCharWidth Property

MinCharWidth Property (GdPictureOCR)

In This Topic
Specifies the minimal accepted width, in pixels, for each recognized character.
Syntax
'Declaration

 

Public Property MinCharWidth As Integer
public int MinCharWidth {get; set;}
public read-write property MinCharWidth: Integer; 
public function get,set MinCharWidth : int
public: __property int get_MinCharWidth();

public: __property void set_MinCharWidth( 

   int value

);
public:

property int MinCharWidth {

   int get();

   void set (    int value);

}

Property Value

The default valus is 0, means no limit is used.
Example
How to define the required minimal width of a recognized character.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()

 

    gdpictureOCR.MinCharWidth = 5

 

    'You can do your another stuff with gdpictureOCR here.

End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())

{

    gdpictureOCR.MinCharWidth = 5;

 

    //You can do your another stuff with gdpictureOCR here.

}
See Also