TIEVisionOCR.setBlackAndWhiteList
Declaration
procedure setBlackAndWhiteList(blackList: PAnsiChar; whiteList: PAnsiChar = nil); safecall;
Description
Sets black and white lists of forbidden or allowed characters.
If a character is not allowed an alternative is returned (e.g. "1" may become "1" if disallowed).
Parameter | Description |
blackList | A string of disallowed characters. |
whiteList | A string of allowed characters. |
// Only allow hex characters
m_OCR.setBlackAndWhiteList(nil, '0123456789ABCDEF');