ImageGear for C and C++ on Windows v19.4 - Updated
IG_REC_despeckle_mode_get
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Recognition Image Preprocessing Functions > IG_REC_despeckle_mode_get

Inquires the current Image despeckle mode setting.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_despeckle_mode_get(
   LPAT_BOOL lpbMode
);

Arguments:

Name Type Description
lpbMode LPAT_BOOL Pointer to a variable to get the current setting.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT ErrCount = 0;
AT_BOOL bDespeckleMode = FALSE;
ErrCount += IG_REC_despeckle_mode_get(&bDespeckleMode);