Class LinearBarcodeBase
The base class for linear (1D) barcodes.
Inheritance
System.Object
LinearBarcodeBase
Inherited Members
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 Linear
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. |
IsNumeric
Gets the value indicating that the barcode is numeric.
Declaration
public virtual bool IsNumeric { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
|
WideBarRatio
Gets or sets a relative width of wide bars in the barcode.
Declaration
public float WideBarRatio { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Assign(BarcodeBase)
Assigns properties from other, similar barcode.
Declaration
public override void Assign(BarcodeBase source)
Parameters
Type | Name | Description |
---|---|---|
Barcode |
source | Barcode object to assign properties from. |
Overrides
DrawBarcode(IGraphicsRenderer, RectangleF)
Declaration
public override void DrawBarcode(IGraphicsRenderer g, RectangleF displayRect)
Parameters
Type | Name | Description |
---|---|---|
IGraphics |
g | |
Rectangle |
displayRect |