Nicomsoft OCR: Developer's Guide


Blk_Rotation


Syntax

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


Description

Sets or retrieves the block rotation flag state.


Parameters

BlkObj [IN] – the Block object.
Rotation [IN] – the rotation flag value; see the BLK_ROTATE_XXXXX constants for possible values.


Return value

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


Remarks

None.


Example

See the sample code for the Img_GetBlockCnt function.