Class UpcBarcode
Represents a class which encodes the following characters, [0-9] and text length should be 11 or 12.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Barcode
Assembly: Syncfusion.SfBarcode.UWP.dll
Syntax
public class UpcBarcode : UnidimensionalBarcode
Remarks
It is inherited from UnidimensionalBarcode.
Constructors
UpcBarcode()
Initializes a new instance of the UpcBarcode class.
Declaration
public UpcBarcode()
UpcBarcode(String)
Initializes a new instance of the UpcBarcode class.
Declaration
public UpcBarcode(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The Barcode text. |
Methods
CalculateCheckDigit()
Calculates the check digit for this barcode specification.
Declaration
protected override char[] CalculateCheckDigit()
Returns
| Type | Description |
|---|---|
| System.Char[] | The Check digits. |