Implemented as a Get method.
String name=TypeName(iCodeType)
To interrogate the list of barcode types supported by the control the TypeName(iCodeType) method may be used. This returns a string (BSTR) containing the name of the barcode that corresponds to a CodeType of iCodeType.
An empty string is returned if iCodeType is outside the range of values supported.
A complete list of the code types supported is shown in the Barcodes HELP file supplied with this product.
An Visual Basic example of filling a listbox with the names of barcode types is shown below:
For i = 0 To 80
x$ =
Uniocx1.TypeName(i)
If Len(x$) < 2 Then GoTo
donelb
codetype.AddItem (x$)
Next
I
donelb:
codetype.ListIndex = 8
More: