menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Code128ABarcode - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    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)]; [" ! # $ % & ' ( ) * + , - . / ; > = < ? @ [ / ]^ _ ].

    Inheritance
    System.Object
    NotificationObject
    BarcodeBase
    UnidimensionalBarcode
    Code128ABarcode
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    NotificationObject.PropertyChanged
    NotificationObject.RaisePropertyChanged(String)
    NotificationObject.RaisePropertyChanged(String[])
    UnidimensionalBarcode.EnableCheckSum
    UnidimensionalBarcode.EncodeStartStopSymbols
    UnidimensionalBarcode.GetExtendedText(SfBarcode)
    UnidimensionalBarcode.GetTextToEncode(SfBarcode)
    UnidimensionalBarcode.ShowCheckSum
    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,

    • CodabarBarcode
    • Code11Barcode
    • Code128ABarcode
    • Code128BBarcode
    • Code128CBarcode
    • Code32Barcode
    • Code39Barcode
    • Code39ExtendedBarcode
    • Code93Barcode
    • Code93ExtendedBarcode
    • UpcBarcode
    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
    UnidimensionalBarcode.CalculateCheckDigit(SfBarcode)

    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.

    Overrides
    UnidimensionalBarcode.Validate(String)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved