Nicomsoft OCR: Developer's Guide |
C++: | int Blk_GetCharRect(HBLK BlkObj, int LineIndex, int WordIndex, int CharIndex, int* Xpos, int* Ypos, int* Width, int* Height) |
C#: | int Blk_GetCharRect(int BlkObj, int LineIndex, int WordIndex, int CharIndex, out int Xpos, out int Ypos, out int Width, out int Height) |
Visual Basic: | Function Blk_GetCharRect(ByVal BlkObj As Integer, ByVal LineIndex As Integer, ByVal WordIndex As Integer, ByVal CharIndex As Integer, ByRef Xpos As Integer, ByRef Ypos As Integer, ByRef Width As Integer, ByRef Height As Integer) As Integer |
Java: | int Blk_GetCharRect(HBLK BlkObj, int LineIndex, int WordIndex, int CharIndex, NSInt Xpos, NSInt Ypos, NSInt Width, NSInt Height) |
Delphi: | function Blk_GetCharRect(BlkObj:HBLK; LineIndex:integer; WordIndex:integer; CharIndex:integer; out Xpos:integer; out Ypos:integer; out Width:integer; out Height:integer):integer |
BlkObj [IN] – the Block object. You can also specify the Image object if you want to work with the global list of text lines for the entire image. | |
LineIndex [IN] – the index of the text line; 0 – the first line. | |
WordIndex [IN] – the index of the word in the specified text line; 0 – the first word. | |
CharIndex [IN] – the index of the character in the specified word; 0 – the first character. | |
Xpos [OUT] – the address of the variable that will get the X coordinate of the character’s top-left corner, in pixels. | |
Ypos [OUT] – the address of the variable that will get the Y coordinate of the character’s top-left corner, in pixels. | |
Width [OUT] – the address of the variable that will get the width of the character, in pixels. | |
Height [OUT] – the address of the variable that will get the height of the character, in pixels. |