Class Code128ABarcode
Represents a class which encode the following characters, [0-9]; [A-Z]; [NUL(0x00) SOH(0x01) STX(0x02) ETX(0x03) EOT(0x04) ENQ(0x05) ACK(0x06) BEL(0x07) BS(0x08) HT(0x09) LF(0x0A) VT(0x0B) FF(0x0C) CR(0x0D) SO(0x0E) SI(0x0F) DLE(0x10) DC1(0x11) DC2(0x12) DC3(0x13) DC4(0x14) NAK(0x15) SYN(0x16) ETB(0x17) CAN(0x18) EM(0x19) SUB(0x1A) ESC(0x1B) FS(0x1C) GS(0x1D) RS(0x1E) US(0x1F) SPACE(0x20)]; [" ! # $ % & ' ( ) * + , - . / ; > = < ? @ [ / ]^ _ ].
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Barcode
Assembly: Syncfusion.Barcode.WinUI.dll
Syntax
public class Code128ABarcode : UnidimensionalBarcode, INotifyPropertyChanged
Remarks
This class provides the base class for the following SfBarcode types,
Examples
<syncfusion:SfBarcode Width="200" Height="200" Value="48625310">
<syncfusion:SfBarcode.Symbology>
<syncfusion:Code128ABarcode/>
</syncfusion:SfBarcode.Symbology>
</syncfusion:SfBarcode>
using Syncfusion.UI.Xaml.Barcode
�
SfBarcode sfBarcode = new SfBarcode();
sfBarcode.Value = "48625310";
sfBarcode.Symbology = new Code128ABarcode();
Constructors
Code128ABarcode()
Initializes a new instance of the Code128ABarcode class.
Declaration
public Code128ABarcode()
Methods
CalculateCheckDigit(SfBarcode)
Calculates the check digit for this barcode specification.
Declaration
protected override char[] CalculateCheckDigit(SfBarcode barcode)
Parameters
Type | Name | Description |
---|---|---|
SfBarcode | barcode | The Barcode. |
Returns
Type | Description |
---|---|
System.Char[] | The Check digits. |
Overrides
Initialize()
Initializes the internal barcode symbol table
Declaration
protected void Initialize()
Validate(String)
Internal method used to validate the given barcode text.
Declaration
protected override bool Validate(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data | The Text. |
Returns
Type | Description |
---|---|
System.Boolean | True if valid, Otherwise False. |