Nicomsoft OCR: Developer's Guide


Blk_GetType


Syntax

C++:int Blk_GetType(HBLK BlkObj)
C#:int Blk_GetType(int BlkObj)
Visual Basic:Function Blk_GetType(ByVal BlkObj As Integer) As Integer
Java:int Blk_GetType(HBLK BlkObj)
Delphi:function Blk_GetType(BlkObj:HBLK):integer


Description

Retrieves the type of the specified Block object. See the BT_XXXXX constants for possible values.


Parameters

BlkObj [IN] – the Block object.


Return value

Block type if success, otherwise an error code.


Remarks

None.


Example

See the sample code for the Img_GetBlockCnt function.