ImageGear for C and C++ on Windows v19.2 - Updated
IG_REC_redactor_delete
API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Redactor Functions > IG_REC_redactor_delete

Releases an approximate regex instance.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_redactor_delete(
   const HIG_REC_REDACTOR higRecRedactor
);

Arguments:

Name Type Description
higRecRedactor const HIG_REC_REDACTOR The handle to a redactor instance.

Return Value:

The number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
AT_ERRCOUNT errCount = 0 ;
HIG_REC_REDACTOR higRecRedactor = 0 ;

IG_REC_redactor_create( &higRecRedactor ) ;
errCount = IG_REC_redactor_delete( higRecRedactor ) ;

Remarks:

All objects and memory owned will be deleted at this time. Reusing the higRecRedactor after this function returns success will result in an error.

See Also

HIG_REC_REDACTOR