Enables French CIP check digit verification, used in the French pharmaceutical industry.
Namespace: Honeywell.Mobility.DataCollection
Assembly: Honeywell.Mobility.DataCollection.FF3.5 (in Honeywell.Mobility.DataCollection.FF3.5.dll)
[C#] public CSymbology.CCode128.ECheckDigitVerify CheckDigitVerify { get; set; }
[Visual Basic] Public Property CheckDigitVerify As CSymbology.CCode128.ECheckDigitVerify Get Set
Defined by the CSymbology.CCode128.ECheckDigitVerify enumeration.
If French CIP check digit is active, decoding only succeeds if the bar code length is 14 characters, start is C type, and CIP check digit is verified.
French CIP verification does not force a minimum length of 14 characters.
[C#]
using Honeywell.Mobility.DataCollection; namespace DataCollection { public partial class frmBarcodeReader : Form { private Honeywell.Mobility.DataCollection.BarcodeReader bcr; public frmBarcodeReader() { InitializeComponent(); try { bcr = new Honeywell.Mobility.DataCollection.BarcodeReader(); bcr.Symbology.Code128.CheckDigitVerify = CSymbology.CCode128.ECheckDigitVerify.FrenchCip; } catch (BarcodeReaderException bcrexp) { MessageBox.Show(bcrexp.Message); } } } }
[VB.NET] Imports Honeywell.Mobility.DataCollection Public Class BarcodeReader Private WithEvents bcr As Honeywell.Mobility.DataCollection.BarcodeReader Private Sub BarcodeReader_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try bcr = New Honeywell.Mobility.DataCollection.BarcodeReader() bcr.Symbology.Code128.CheckDigitVerify = CSymbology.CCode128.ECheckDigitVerify.FrenchCip; Catch bcrexp As BarcodeReaderException MessageBox.Show(bcrexp.Message) End Try End Sub End Class
BarcodeReaderException throws an exception when an error has occurred on bar code read methods and properties.