Class BarcodeBase
Represents a base class for all barcode types.
Namespace: Com.Syncfusion.Barcode
Assembly: Syncfusion.SfBarcode.Android.dll
Syntax
public class BarcodeBase : Object
Constructors
BarcodeBase()
Initializes a new instance of the Com.Syncfusion.Barcode class.
Declaration
public BarcodeBase()
BarcodeBase(String)
Initializes a new instance of the Com.Syncfusion.Barcode class.
Declaration
public BarcodeBase(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Set the barcode text. |
Methods
Validate(String)
Internal method which validates whether the given text is acceptable by the current barcode specification or not.
Declaration
protected virtual bool Validate(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data | The Text. |
Returns
Type | Description |
---|---|
System.Boolean | True if Valid, Otherwise False |