API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Settings Functions > IG_REC_default_filling_method_set |
Specifies the default filling method for the page.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_default_filling_method_set( enumIGRecFillingMethod fillingMethod ); |
Name | Type | Description |
---|---|---|
fillingMethod | enumIGRecFillingMethod | Specifies the default filling method. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; HIG_REC_IMAGE higRecImage = 0; HIGEAR higImage = 0; ErrCount += IG_load_file("Image.tif", &higImage); ErrCount += IG_REC_image_import(higImage, &higRecImage); ErrCount += IG_REC_default_filling_method_set(IG_REC_FM_DRAFTDOT9); ErrCount += IG_REC_image_recognize(higRecImage); //... ErrCount += IG_REC_image_delete(higRecImage); ErrCount += IG_image_delete(higImage); |
The default filling method is applied to all zones on the page with the IG_REC_FM_DEFAULT value in their FillingMethod field.
This substitution of the filling method happens at the beginning of the IG_REC_image_recognize calls.