GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureOCR Class / MinCharHeight Property
Example





In This Topic
MinCharHeight Property (GdPictureOCR)
In This Topic
Specifies the minimal accepted height, in pixels, for each recognized character.
Syntax
'Declaration
 
Public Property MinCharHeight As Integer
public int MinCharHeight {get; set;}
public read-write property MinCharHeight: Integer; 
public function get,set MinCharHeight : int
public: __property int get_MinCharHeight();
public: __property void set_MinCharHeight( 
   int value
);
public:
property int MinCharHeight {
   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 height of a recognized character.
Using gdpictureOCR As GdPictureOCR = New GdPictureOCR()
 
    gdpictureOCR.MinCharHeight = 50
 
    'You can do your another stuff with gdpictureOCR here.
End Using
using (GdPictureOCR gdpictureOCR = new GdPictureOCR())
{
    gdpictureOCR.MinCharHeight = 50;
 
    //You can do your another stuff with gdpictureOCR here.
}
See Also