alexa
menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class BarcodeBase

    Represents a base class for all barcode types.

    Inheritance
    System.Object
    BarcodeBase
    UnidimensionalBarcode
    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved