ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_redactor_font_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Redactor Functions > IG_REC_redactor_font_get

Glossary Item Box

Gets the current font attributes for text drawn on the redacted image.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_redactor_font_get(
   const HIG_REC_REDACTOR higRecRedactor,
   AT_LOGFONT *const  lpLogFont
);

Arguments:

higRecRedactor The handle to a redactor instance.
lpLogFont The pointer to writable memory that will receive a copy of the current logical font attributes.

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.

Remarks:

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.

Example:

  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 ) ;

See Also

HIG_REC_REDACTOR

©2012. Accusoft Corporation. All Rights Reserved.