ImageGear Professional v18.2 > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Redactor Functions > IG_REC_redactor_font_get |
Gets the current font attributes for text drawn on the redacted image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_redactor_font_get( const HIG_REC_REDACTOR higRecRedactor, AT_LOGFONT* const lpLogFont ); |
Name | Type | Description |
higRecRedactor | const HIG_REC_REDACTOR | The handle to a redactor instance. |
lpLogFont | AT_LOGFONT* const | The pointer to writable memory that will receive a copy of the current logical font attributes. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_REDACTOR higRedactor = 0 ; AT_LOGFONT logical_font = {0} ; IG_REC_redactor_create( &higRedactor ) ; errCount = IG_REC_redactor_font_get ( higRedactor, &logical_font ) ; IG_REC_redactor_delete( higRedactor ) ; |
The font attributes for replacement text drawn on the source image within a match result bounding box.
The default value is NULL.
If NULL is specified, then the redactor will default to the font attributes for the default system font.