BarcodeNET Reference
BarcodeText Property
NamespacesBarcodeNETWorkShopBarcodeNETImageBarcodeText
Set or get the text for encoding
Declaration Syntax
C#Visual BasicVisual C++
public string BarcodeText { get; set; }
Public Property BarcodeText As String
	Get
	Set
public:
property String^ BarcodeText {
	String^ get ();
	void set (String^ value);
}
Remarks
CopyC#
   CODE128A,B,C and EAN128A,B,C control chars
FNC1          ==  (&FN1)  ==  0xc0
FNC2          ==  (&FN2)  ==  0xc1   
FNC3          ==  (&FN3)  ==  0xc2   
FNC4          ==  (&FN4)  ==  0xc3   
Code A      ==  (&COB)  ==  0xc4
Code B      ==  (&COB)  ==  0xc5
Code C      ==  (&COC)  ==  0xc6
Start A      ==  (&STA)  ==  0xc7
Start B      ==  (&STB)  ==  0xc8
Start C      ==  (&STC)  ==  0xc9
Shift          ==  (&SHT)  ==  0xca
CopyC#
// For CODE128A, EAN128A
FNC1          ==  (&FN1)  ==  0xc0
FNC2          ==  (&FN2)  ==  0xc1   
FNC3          ==  (&FN3)  ==  0xc2   
FNC4          ==  (&FN4)  ==  0xc3   
Code B      ==  (&COB)  ==  0xc5
Code C      ==  (&COC)  ==  0xc6
Start A      ==  (&STA)  ==  0xc7
Start B      ==  (&STB)  ==  0xc8
Start C      ==  (&STC)  ==  0xc9
Shift          ==  (&SHT)  ==  0xca
CopyC#
// For CODE128B,EAN128B
FNC1          ==  (&FN1)  ==  0xc0
FNC2          ==  (&FN2)  ==  0xc1   
FNC3          ==  (&FN3)  ==  0xc2   
FNC4          ==  (&FN4)  ==  0xc3   
Code A      ==  (&COB)  ==  0xc4
Code C      ==  (&COC)  ==  0xc6
Start A      ==  (&STA)  ==  0xc7
Start B      ==  (&STB)  ==  0xc8
Start C      ==  (&STC)  ==  0xc9
Shift          ==  (&SHT)  ==  0xca
CopyC#
// For Code 128C, EAN128C
FNC1          ==  (&FN1)  ==  0xc0
Code A      ==  (&COA)  ==  0xc4
Code B      ==  (&COB)  ==  0xc5
Code C      ==  (&COC)  ==  0xc6
Start A      ==  (&STA)  ==  0xc7
Start B      ==  (&STB)  ==  0xc8
Start C      ==  (&STC)  ==  0xc9
Examples
CopyC#
BarcodeNETWindows barcodeNET1=new BarcodeNETWindows();
barcodeNET1.BarcodeText="1234"; // Encode  "1234" to code 128b
barcodeNET1.BarcodeText="(&FN1)1234";  // Same as EAN 128b
barcodeNET1.BarcodeText=((char)0xc0).ToString()+"1234"; // Same as EAN 128b

Assembly: BarcodeNET (Module: BarcodeNET) Version: 7.5.3855.36704