SimpleOCR:SDK Functions – OCRLimitCharsTo

You are here:
< All Topics

void OCRLimitCharsTo(const char * charsToLimit)

Sets the characters that the output will be limited to.

Return Value




string containing the characters that the output will be limited to


There are default limited character sets that are defined as follows:#define LC_NUMERIC 1 only numbers
#define LC_ALPHABETIC 2 only letters
#define LC_ALPHANUMERIC 3 no punctuation
#define LC_UCASE 4 all uppercase
#define LC_LCASE 5 all lowercase
#define LC_NONNUMERIC 6 no numbers

Passing the function a string of zero length, a NULL value, or a zero will turn off the limiting of characters.

Previous SimpleOCR:SDK Functions – OCR
Next SimpleOCR:SDK Functions – OCROnArea
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top