Specifies ASCII or Numeric as the format type for Telepen.
Namespace: Honeywell.Mobility.DataCollection
Assembly: Honeywell.Mobility.DataCollection.FF3.5 (in Honeywell.Mobility.DataCollection.FF3.5.dll)
[C#] public CSymbology.CTelepen.EFormat Format { get; set; }
[Visual Basic] Public Property Format As CSymbology.CTelepen.EFormat Get Set
Defined by the CSymbology.CTelepen.EFormat enumeration.
When Numeric format is selected, the start/stop and check digits remain unchanged (as with ASCII character values from 0 to 16). Characters from 17 to 26 are changed to the values from 0X to 9X. Values greater than 26 are obtained by subtracting 27 from their ASCII values.
[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.Telepen.Format = CSymbology.CTelepen.EFormat.Ascii; } 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.Telepen.Format = CSymbology.CTelepen.EFormat.Ascii; 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.