WinUI

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Code32Barcode - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Code32Barcode

    Represents a class which encodes numeric value [0-9].

    Inheritance
    System.Object
    NotificationObject
    BarcodeBase
    UnidimensionalBarcode
    Code39Barcode
    Code32Barcode
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    UnidimensionalBarcode.GetExtendedText(SfBarcode)
    UnidimensionalBarcode.Validate(String)
    UnidimensionalBarcode.ShowCheckSum
    UnidimensionalBarcode.EnableCheckSum
    UnidimensionalBarcode.EncodeStartStopSymbols
    NotificationObject.RaisePropertyChanged(String)
    NotificationObject.RaisePropertyChanged(String[])
    NotificationObject.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Barcode
    Assembly: Syncfusion.Barcode.WinUI.dll
    Syntax
    public class Code32Barcode : Code39Barcode, INotifyPropertyChanged
    Remarks

    The barcode length is 9 digits (8 user defined digits + 1 check digit). �/>

    Examples
    <syncfusion:SfBarcode Width="200" Height="200" Value="48625310">
         <syncfusion:SfBarcode.Symbology>
              <syncfusion:Code32Barcode/>
         </syncfusion:SfBarcode.Symbology>
    </syncfusion:SfBarcode>
    using Syncfusion.UI.Xaml.Barcode
    �
    SfBarcode sfBarcode = new SfBarcode();
    sfBarcode.Value = "48625310";
    sfBarcode.Symbology = new Code32Barcode();

    Constructors

    Code32Barcode()

    Initializes a new instance of the Code32Barcode class.

    Declaration
    public Code32Barcode()

    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
    Code39Barcode.CalculateCheckDigit(SfBarcode)

    GetBarcodeSymbols(SfBarcode)

    Gets the barcode symbols.

    Declaration
    protected string GetBarcodeSymbols(SfBarcode barcode)
    Parameters
    Type Name Description
    SfBarcode barcode

    The Barcode.

    Returns
    Type Description
    System.String

    Encoded data

    GetDataToEncode(String)

    To get the Actual Encoded Text from from original Text..

    Declaration
    protected string GetDataToEncode(string originalData)
    Parameters
    Type Name Description
    System.String originalData

    The original data.

    Returns
    Type Description
    System.String

    original Data

    GetTextToEncode(SfBarcode)

    Returns the Actual text to encode.

    Declaration
    protected override string GetTextToEncode(SfBarcode barcode)
    Parameters
    Type Name Description
    SfBarcode barcode

    The Barcode.

    Returns
    Type Description
    System.String

    The Actual Text.

    Overrides
    UnidimensionalBarcode.GetTextToEncode(SfBarcode)

    Implements

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