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
BarcodeIntelligentMail
BarcodeMSI
BarcodePharmacode
BarcodePlessey
BarcodePostNet
Inherited Members
BarcodeBase.Name
BarcodeBase.Color
BarcodeBase.Clone()
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Barcode
Assembly: FastReport.OpenSource.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(IGraphicsRenderer, RectangleF)

Declaration
public override void DrawBarcode(IGraphicsRenderer g, RectangleF displayRect)
Parameters
Type Name Description
IGraphicsRenderer g
RectangleF displayRect
Overrides
BarcodeBase.DrawBarcode(IGraphicsRenderer, RectangleF)
Back to top Generated by DocFX