CSymbologyOptions.CMulticode.CBarcode2.Symbology Property

Gets and sets the symbology type for the second bar code in a multicode symbology.

Namespace: Honeywell.Mobility.DataCollection

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

Syntax

[C#]
public CSymbologyOptions.SymbologyType Symbology { get; set; }
[Visual Basic]
Public Property Symbology As CSymbologyOptions.SymbologyType
    Get
    Set

Property Value

Defined by the CSymbologyOptions.SymbologyType enumeration.

Remarks

Bar codes in a multicode symbology are sent in order of bar code ID (bar code 1, bar code 2, and so on). If no bar code ID is used and the multicode function is applied to all bar codes, the bar codes are sent in the order read.

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.SymbologyOptions.Multicode.Barcode2.Symbology = SymbologyOptions.SymbologyType.All; bcr.SymbologyOptions.Multicode.Barcode2.Length = 25 bcr.SymbologyOptions.Multicode.Barcode2.Mask = "*123*"; } 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.SymbologyOptions.Multicode.Barcode2.Symbology = SymbologyOptions.SymbologyType.All
            bcr.SymbologyOptions.Multicode.Barcode2.Length = 25
            bcr.SymbologyOptions.Multicode.Barcode2.Mask = "*123*";
        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

CSymbologyOptions.CMulticode.CBarcode2 Class