Class Code32Barcode
Represents a class which encodes numeric value [0-9].
Inheritance
System.Object
    
    
    
    
    Code32Barcode
  Implements
System.ComponentModel.INotifyPropertyChanged
  Inherited Members
Namespace: Syncfusion.UI.Xaml.Barcode
Assembly: Syncfusion.Barcode.WinUI.dll
Syntax
public class Code32Barcode : Code39Barcode, INotifyPropertyChangedRemarks
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
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
Implements
      System.ComponentModel.INotifyPropertyChanged