#include “BlackIceDEVMODE.h”
BOOL SetOCRAreaUnit(BlackIceDEVMODE* pBlackIceDevMode, int iValue)
Description
Sets the unit used for specifying the OCR area.
Parameters
BlackIceDEVMODE* pBlackIceDevMode - pointer to the BlackIceDEVMODE structure
Int iValue - The new unit used for specifying the OCR area. Can be one of the following values:
BLF_OCR_UNIT_PIXEL 0x00000001 // Pixel
BLF_OCR_UNIT_MM 0x00000002 // 0.1*mm
BLF_OCR_UNIT_INCH 0x00000003 // 0.01*Inch
Return value
TRUE on success, otherwise FALSE
Programming Notes
None
Code Example
None