Sets the text color used to redact match results.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_redactor_textcolor_set( const HIG_REC_REDACTOR higRecRedactor, const AT_RGBQUAD* const lpColor ); |
Name | Type | Description |
---|---|---|
higRecRedactor | const HIG_REC_REDACTOR | The handle to a redactor instance. |
lpColor | const AT_RGBQUAD* const | The pointer to new text color value. If lpColor is NULL then text will not be drawn. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_REDACTOR higRedactor = 0 ; AT_RGBQUAD fuscia = { 0xFF, 0x00, 0xFF, 0x00 } ; IG_REC_redactor_create( &higRedactor ) ; errCount = IG_REC_redactor_textcolor_set ( higRedactor, &fuscia ) ; IG_REC_redactor_delete( higRedactor ) ; |
This color is used when filling areas of the source image.
The default value is NULL.
If text color is NULL, then the redactor will not draw the replacement text onto the redacted image.