Nicomsoft OCR: Developer's Guide


Blk_Mirror


Syntax

C++:int Blk_Mirror(HBLK BlkObj, int Mirror)
C#:int Blk_Mirror(int BlkObj, int Mirror)
Visual Basic:Function Blk_Mirror(ByVal BlkObj As Integer, ByVal Mirror As Integer) As Integer
Java:int Blk_Mirror(HBLK BlkObj, int Mirror)
Delphi:function Blk_Mirror(BlkObj:HBLK; Mirror:integer):integer


Description

Sets or retrieves the block mirror flag state.


Parameters

BlkObj [IN] – the Block object.
Mirror [IN] – the mirror flag value; see the BLK_MIRROR_XXXXX constants for possible values.


Return value

If success, zero or the current mirror flag state; otherwise, an error code.


Remarks

None.


Example

See the sample code for the Img_GetBlockCnt function.