SetOCRSelectArea

#include “BlackIceDEVMODE.h”

 

BOOL SetOCRSelectArea(BlackIceDEVMODE* pBlackIceDevMode, BOOL bEnable)

Description

Enables or disables Area Selection for the OCR feature of the printer driver. When enabled, you can use the SetOCRAreaUnit, SetOCRAreaTop, SetOCRAreaLeft, SetOCRAreaWidth and SetOCRAreaHeight functions to set a rectangular area on the page where the OCR will operate.

Parameters

BlackIceDEVMODE* pBlackIceDevMode           - pointer to the BlackIceDEVMODE structure

BOOL bEnable         - Set to TRUE to enable the Select Area feture, set to FALSE to disable it.

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None