CSymbology.CEanUpc.EnableUpca Property

Enables decoding of UPC-A.

Namespace: Honeywell.Mobility.DataCollection

Assembly: Honeywell.Mobility.DataCollection.FF3.5 (in Honeywell.Mobility.DataCollection.FF3.5.dll)

Syntax

[C#]
public CSymbology.CEanUpc.EEnableUpca EnableUpca { get; set; }
[Visual Basic]
Public Property EnableUpca As CSymbology.CEanUpc.EEnableUpca
    Get
    Set

Property Value

Defined by the CSymbology.CEanUpc.EEnableUpca enumeration.

Remarks

Set to true to enable UPC-A decoding, or set to false to disable decoding.

Enabling UPC-A decoding does not ensure that decoding is possible for all bar codes read. Some options, such as Add-On requirements, may prevent decoding.

Examples

[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.EanUpc.EnableUpca = CSymbology.CEanUpc.EEnableUpca.Enable; } 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.EanUpc.EnableUpca = CSymbology.CEanUpc.EEnableUpca.Enable;
        Catch bcrexp As BarcodeReaderException
            MessageBox.Show(bcrexp.Message)
        End Try
    End Sub
End Class

Exceptions

BarcodeReaderException throws an exception when an error has occurred on bar code read methods and properties.

More Information

CSymbology.CEanUpc Class