ImageGear Professional DLL v17.1 for Windows Accusoft
IG_REC_filterplus_get
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > Recognition Component API Reference > Recognition Component Functions Reference > Language Settings Functions > IG_REC_filterplus_get

Glossary Item Box

Gets the FilterPlus characters setting.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_REC_filterplus_get(
   LPWSTR pFilterPlus,
   AT_INT nBufferSize
);

Arguments:

pFilterPlus Pointer to a buffer to get the current FilterPlus character setting in UNICODE.
nBufferSize Specifies the size of the pFilterPlus buffer in bytes. It must be large enough to hold all the characters and the terminating zero.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

  Copy Code
 AT_ERRCOUNT ErrCount = 0; LPWSTR lpwszBuffer = 0; AT_INT iBufSize = 1024; AT_INT iFilterPlusLength = 0; enumIGRecChrFilter eFilter = {IG_REC_FILTER_ALPHA | IG_REC_FILTER_DIGIT | IG_REC_FILTER_PLUS};
 ErrCount += IG_REC_default_filter_set(eFilter); ErrCount += IG_REC_filterplus_set(L"-|+="); ErrCount += IG_REC_filterplus_length_get(&iBufSize); iBufSize = (iBufSize + 1) * sizeof(AT_WCHAR); lpwszBuffer = (LPWSTR) malloc(iBufSize); if(lpwszBuffer) {  ErrCount += IG_REC_filterplus_get(lpwszBuffer, iBufSize);  free(lpwszBuffer); }

©2012. Accusoft Corporation. All Rights Reserved.