BSTR GetName(int icode)
Return a string containing the name of the barcode type represented by icode.
If icode contains a value not supported by the control and empty string is returned.
This method may be used to enumerate the barcode types supported by the control, eg:
Dim i
Dim xs As String
Dim TypeList As New ArrayList()
For i = 0 To 100
xs = AxDfontocx1.GetTypeName(i)
If Len(xs) > 0 Then
TypeList.Add(xs)
Else
Exit For
End If
Next
codetype.DataSource = TypeList
codetype.SelectedIndex = 0
More: