Class Code128CBarcode
Represents a Code128C barcode.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Controls.Barcode
Assembly: Syncfusion.SfBarcode.WPF.dll
Syntax
public class Code128CBarcode : UnidimensionalBarcode
Constructors
Code128CBarcode()
Initializes a new instance of the Code128CBarcode class.
Declaration
public Code128CBarcode()
Code128CBarcode(String)
Initializes a new instance of the Code128CBarcode class.
Declaration
public Code128CBarcode(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. |
Overrides
GetDataToEncode(String)
Gets the data to encode.
Declaration
protected string GetDataToEncode(string originalData)
Parameters
Type | Name | Description |
---|---|---|
System.String | originalData | The original data. |
Returns
Type | Description |
---|---|
System.String | Encoded string. |
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. |