SetOCRFormat

 

#include “BlackIceDEVMODE.h”

 

BOOL SetOCRFormat(BlackIceDEVMODE* pBlackIceDevMode, int iValue)

Description

Sets the output format of the OCR.

Parameters

BlackIceDEVMODE* pBlackIceDevMode           - pointer to the BlackIceDEVMODE structure

Int iValue       - The OCR format. Can be one of the following values:

 

BLF_OCR_FORMAT_TEXT     0x00000000  // Plain Text format

BLF_OCR_FORMAT_HOCR     0x00000001  // hOCR format

 

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None