Search Results for

    Show / Hide Table of Contents

    Class LinearBarcodeBase

    The base class for linear (1D) barcodes.

    Inheritance
    System.Object
    BarcodeBase
    LinearBarcodeBase
    Barcode128
    Barcode2of5Interleaved
    Barcode39
    Barcode93
    BarcodeCodabar
    BarcodeEAN
    BarcodeGS1Base
    BarcodeIntelligentMail
    BarcodeJapanPost4StateCode
    BarcodeMSI
    BarcodePharmacode
    BarcodePlessey
    BarcodePostNet
    Inherited Members
    BarcodeBase.Name
    BarcodeBase.Color
    BarcodeBase.Font
    BarcodeBase.Clone()
    BarcodeBase.GetDefaultValue()
    Namespace: FastReport.Barcode
    Assembly: FastReport.Base.dll
    Syntax
    public class LinearBarcodeBase : BarcodeBase

    Constructors

    LinearBarcodeBase()

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

    Declaration
    public LinearBarcodeBase()

    Properties

    CalcCheckSum

    Gets or sets a value that determines if the barcode object should calculate the check digit automatically.

    Declaration
    public bool CalcCheckSum { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsNumeric

    Gets the value indicating that the barcode is numeric.

    Declaration
    public virtual bool IsNumeric { get; }
    Property Value
    Type Description
    System.Boolean

    Trim

    Gets or sets a value indicating that leading/trailing whitespaces must be trimmed.

    Declaration
    public bool Trim { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if trim; otherwise, false.

    WideBarRatio

    Gets or sets a relative width of wide bars in the barcode.

    Declaration
    public float WideBarRatio { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    Assign(BarcodeBase)

    Assigns properties from other, similar barcode.

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

    Barcode object to assign properties from.

    Overrides
    BarcodeBase.Assign(BarcodeBase)

    DrawBarcode(IGraphics, RectangleF)

    Draws a barcode.

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

    The graphic surface.

    RectangleF displayRect

    Display rectangle.

    Overrides
    BarcodeBase.DrawBarcode(IGraphics, RectangleF)
    Back to top © 1998-2025 Copyright Fast Reports Inc.