ImageGear for C and C++ on Windows v19.6 - Updated
Redact
User Guide > How to Work with... > OCR > How to... > Auto-Redact > Redact

The redact operation is conducted by an ImageGear redactor object (HIG_REC_REDACTOR) against an array of matches (AT_REC_MATCH_RESULT) to produce redacted duplicates of the searched page (HIGEAR), document (HMIGEAR), or Unicode string.

To redact a page, document or string:

Create the Redactor Object

Manage the lifetime of the redactor object using IG_REC_redactor_create and IG_REC_redactor_delete.

Create a redactor object using the function IG_REC_redactor_create. When it is no longer needed, use the function IG_REC_redactor_delete to release its resources.

ImageGear HIG_REC_REDACTOR instances are not thread-safe. Callers are responsible for synchronizing access to instances shared across multiple threads before invoking operations that could modify or delete that instance.

Configure the Redaction

After creating a redactor object, configure the style information used to redact search matches and to receive notifications as the matches are redacted. Configurable settings include:

Redact Recovered Matches

After the redactor has been configured, redact the matches recovered from the search of the page, document or Unicode string using the function IG_REC_redactor_redact.