ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_redactor_replacement_text_set
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_replacement_text_set

Glossary Item Box

Sets the replacement text.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_redactor_replacement_text_set(
   const HIG_REC_REDACTOR higRecRedactor,
   const AT_WCHAR replacement_text
);

Arguments:

higRecRedactor The handle to a redactor instance.
replacement_text The new replacement text.

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:

Default value is vertical bar ("|", U+007C).

Example:

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

IG_REC_redactor_create( &higRecRedactor ) ;
errCount = IG_REC_redactor_replacement_text_set 
                          ( higRecRedactor, 
                            L'*'
                          ) ;
IG_REC_redactor_delete( higRecRedactor ) ; 

See Also

HIG_REC_REDACTOR

©2012. Accusoft Corporation. All Rights Reserved.