Class Code128CBarcode
Represents a Code128C barcode.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Barcode
Assembly: Syncfusion.SfBarcode.Windows.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. |