Nicomsoft OCR: Developer's Guide |
C++: | int Blk_GetBarcodeText(HBLK BlkObj, int BarcodeInd, UNICODECHAR* TextStr, int MaxLen) |
C#: | int Blk_GetBarcodeText(int BlkObj, int BarcodeInd, out string TextStr) |
Visual Basic: | Function Blk_GetBarcodeText(ByVal BlkObj As Integer, ByVal BarcodeInd As Integer,, ByRef TextStr As String) As Integer |
Java: | int Blk_GetBarcodeText(HBLK BlkObj, int BarcodeInd, StringBuffer TextStr) |
Delphi: | function Blk_GetBarcodeText(BlkObj:HBLK; BarcodeInd:integer; TextStr:PWCHAR; MaxLen:integer):integer |
BlkObj [IN] – the Block object. You can also specify the Image object if you want to work with the global list of barcodes for the entire image. | |
BarcodeInd [IN] – the barcode index. | |
TextStr [OUT] – the buffer that will get the Unicode, null-terminated string with the text. | |
MaxLen [IN] – the buffer size, in Unicode characters, including the null termination character. If 0, then the function will not copy anything to the buffer, but will only return the buffer size (in Unicode characters, without the null termination character) needed to store the text. |