ImageGear for C and C++ on Windows v19.0
IG_REC_filterplus_get

Gets the FilterPlus characters setting.

Declaration:

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

Arguments:

Name Type Description
pFilterPlus LPWSTR Pointer to a buffer to get the current FilterPlus character setting in UNICODE.
nBufferSize AT_INT 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); }

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback