SetOCRAreaTop

Sets the distance of the OCR area from the top of the page. The unit can be specified using the SetOCRAreaUnit function.

SetOCRAreaTop(pDevMode As Long, iValue As Long) As Boolean

 

Input value   - handle to the BlackIceDEVMODE structure

Input value   - The new Y position of the OCR area.

Return value            - TRUE on success, FALSE otherwise.

 

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