API changes in version 5.3
In This Topic
API changes in version 5.3
Vintasoft.Barcode |
Added classes. |
Vintasoft.Barcode.BarcodeInfo.ValueItemBase |
Specification for a value item of barcode. |
Vintasoft.Barcode.BarcodeInfo.TextValueItem |
Class that allows to access a text data of barcode. |
Vintasoft.Barcode.BarcodeInfo.NumericValueItem |
Class that allows to access a numeric data of PDF417 barcode. |
Vintasoft.Barcode.BarcodeInfo.ECICharacterValueItem |
Extended Channel Interpretation character. |
Vintasoft.Barcode.BarcodeInfo.NonDataFlags |
Class that contains available non-data flags. |
Vintasoft.Barcode.BarcodeInfo.NonDataFlagValueItem |
Class that allows to access a non-data flags of barcode. |
Vintasoft.Barcode.BarcodeInfo.PharmacodeInfo |
Class that allows to get information about recognized Pharmacode barcode. |
Vintasoft.Barcode |
Renamed classes. |
Vintasoft.Barcode.BarcodeInfo.ByteValueItem |
Vintasoft.Barcode.BarcodeInfo.BinaryValueItem
|
Vintasoft.Barcode.BarcodeInfo.QRByteValueItem |
Vintasoft.Barcode.BarcodeInfo.QRBinaryValueItem
|
Vintasoft.Barcode |
Added enumerations. |
Vintasoft.Barcode.BarcodeInfo.ValueItemDataType
|
Specifies available data types of value items. |
Vintasoft.Barcode |
New properties. |
Vintasoft.Barcode.IBarcodeInfo.ShowNonDataFlagsInValue
|
Gets or sets a value that indicating whether non-data flags or ECI
character is visible in barcode value.
|
Vintasoft.Barcode.BarcodeInfoBase.ShowNonDataFlagsInValue |
Gets or sets a value that indicating whether non-data flags or ECI
character is visible in barcode value.
|
Vintasoft.Barcode.ReaderSettings. Code128UseFnc4ShiftToExtendedAsciiTable |
Gets or sets a value indicating whether the barcode reader interprets FNC4
symbols in Code 128 barcode and shifts barcode characters to extended ASCII
table (128..255 byte values). |
Vintasoft.Barcode.WriterSettings.ProcessSpecialSymbols |
Gets or sets a value indicating whether the barcode writer processes the special
symbols in barcode value. |
Vintasoft.Barcode |
Removed interfaces. |
Vintasoft.Barcode.BarcodeInfo.IBarcode2DInfo
|
Vintasoft.Barcode.BarcodeInfo.BarcodeInfo2D class
must be used instead
|
Vintasoft.Barcode.BarcodeInfo.IValueItem |
Vintasoft.Barcode.BarcodeInfo.ValueItemBase class
must be used instead |
Vintasoft.Barcode.BarcodeInfo.IDataMatrixValueItem |
Vintasoft.Barcode.BarcodeInfo.ValueItemBase class
must be used instead |
Vintasoft.Barcode.BarcodeInfo.IPDF417ValueItem |
Vintasoft.Barcode.BarcodeInfo.ValueItemBase class
must be used instead |
Vintasoft.Barcode |
Removed classes. |
Vintasoft.Barcode.IBarcodeInfo.DataMatrixASCIIValueItem
|
Vintasoft.Barcode.BarcodeInfo.NumericValueItem class
must be used instead
|
Vintasoft.Barcode.IBarcodeInfo.DataMatrixByteValueItem |
Vintasoft.Barcode.BarcodeInfo.DataMatrixTextValueItem
or Vintasoft.Barcode.BarcodeInfo.TextValueItem class
must be used instead |
Vintasoft.Barcode.IBarcodeInfo.PDF417ByteValueItem |
Vintasoft.Barcode.BarcodeInfo.BinaryValueItem class
must be used instead |
Vintasoft.Barcode.IBarcodeInfo.PDF417NumericValueItem |
Vintasoft.Barcode.BarcodeInfo.NumericValueItem class
must be used instead |
Vintasoft.Barcode.IBarcodeInfo.PDF417TextValueItem |
Vintasoft.Barcode.BarcodeInfo.TextValueItem class
must be used instead |
Vintasoft.Barcode.IBarcodeInfo.QRNumericValueItem |
Vintasoft.Barcode.BarcodeInfo.NumericValueItem class
must be used instead |
Code convertation example:
Version 5.2 |
Version 5.3 |
' Returns an information about ValueItem type.
Private Function GetValueItemType(info As IBarcodeInfo, _
item As IValueItem) As String
Select Case info.BarcodeType
Case BarcodeType.PDF417, BarcodeType.PDF417Compact
Return DirectCast(item, IPDF417ValueItem).Mode.ToString()
Case BarcodeType.DataMatrix
Return DirectCast(item, IDataMatrixValueItem).Mode.ToString()
Case BarcodeType.QR
Return DirectCast(item, IQRValueItem).Mode.ToString()
End Select
If TypeOf item Is TextValueItem Then
Return "Text"
End If
If TypeOf item Is ByteValueItem Then
Return "Byte"
End If
Return item.GetType().ToString()
End Function
|
' Returns an information about ValueItem type.
Private Function GetValueItemType(item As ValueItemBase) As String
If TypeOf item Is ECICharacterValueItem Then
Return "ECI character"
End If
If TypeOf item Is DataMatrixMacroCharacter Then
Return "Macro character"
End If
If TypeOf item Is DataMatrixTextValueItem Then
Return DirectCast(item, DataMatrixTextValueItem).Mode.ToString()
End If
If TypeOf item Is IQRValueItem Then
Return DirectCast(item, IQRValueItem).Mode.ToString()
End If
Return item.DataType.ToString()
End Function
|