Search Results for

    Show / Hide Table of Contents

    Class BarcodeBase

    The base class for all barcodes.

    Inheritance
    System.Object
    BarcodeBase
    Barcode2DBase
    LinearBarcodeBase
    Namespace: FastReport.Barcode
    Assembly: FastReport.Base.dll
    Syntax
    public abstract class BarcodeBase

    Constructors

    BarcodeBase()

    Initializes a new instance of the BarcodeBase class with default settings.

    Declaration
    public BarcodeBase()

    Properties

    Color

    Gets or sets the color of barcode.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Color

    Font

    Gets or sets the font of barcode.

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    Font

    Name

    Gets the name of barcode.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    Assign(BarcodeBase)

    Assigns properties from other, similar barcode.

    Declaration
    public virtual void Assign(BarcodeBase source)
    Parameters
    Type Name Description
    BarcodeBase source

    Barcode object to assign properties from.

    Clone()

    Creates the exact copy of this barcode.

    Declaration
    public BarcodeBase Clone()
    Returns
    Type Description
    BarcodeBase

    The copy of this barcode.

    DrawBarcode(IGraphics, RectangleF)

    Draws a barcode.

    Declaration
    public virtual void DrawBarcode(IGraphics g, RectangleF displayRect)
    Parameters
    Type Name Description
    IGraphics g

    The graphic surface.

    RectangleF displayRect

    Display rectangle.

    GetDefaultValue()

    Get default value of this barcode

    Declaration
    public virtual string GetDefaultValue()
    Returns
    Type Description
    System.String
    Back to top © 1998-2025 Copyright Fast Reports Inc.