IsOCRSelectAreaEnabled

Returns TRUE if Area Selection for the OCR feature of the printer driver is enabled. When enabled, you can use the GetOCRAreaUnit, GetOCRAreaTop, GetOCRAreaLeft, GetOCRAreaWidth and GetOCRAreaHeight functions to retrieve the selected page area.

IsOCRSelectAreaEnabled(pDevMode As Long) As Boolean

 

Input value    - handle to the BlackIceDEVMODE structure

Return value - TRUE if the Select Area feature is enabled, FALSE otherwise

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.