• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Barcode

Symbology-specific barcode parameters.

Inheritance
object
Barcode
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Barcode.Generation
Assembly: DRIT.Barcode.dll
Syntax
public class Barcode

Properties

BarHeight

Gets or sets the bar height in millimeters (1D only).

Declaration
public float BarHeight { get; set; }
Property Value
Type Description
float

BarWidthReduction

Gets the bar width reduction, used to compensate for ink spread in printing.

Declaration
public Unit BarWidthReduction { get; }
Property Value
Type Description
Unit

Codabar

Gets the Codabar parameters.

Declaration
public CodabarParameters Codabar { get; }
Property Value
Type Description
CodabarParameters

FilledBars

Gets or sets a value indicating whether bars are filled solid (true) or outlined (false).

Declaration
public bool FilledBars { get; set; }
Property Value
Type Description
bool

IsChecksumEnabled

Gets or sets a value indicating whether checksum is enabled during generation for 1D barcodes. Default value: Default.

Declaration
public EnableChecksum IsChecksumEnabled { get; set; }
Property Value
Type Description
EnableChecksum

ReaderInitialization

Gets or sets a value indicating whether the barcode is used for reader initialization (reader programming). When enabled, the symbology engine embeds the reader initialization pattern defined by the symbology specification (e.g. FNC1 for Aztec, codeword 234 for DataMatrix, codeword 921 for PDF417).

Declaration
public bool ReaderInitialization { get; set; }
Property Value
Type Description
bool

WideNarrowRatio

Gets or sets the wide-to-narrow bar ratio (1D only).

Declaration
public float WideNarrowRatio { get; set; }
Property Value
Type Description
float

XDimension

Gets the X-dimension (narrowest bar or module width).

Declaration
public Unit XDimension { get; }
Property Value
Type Description
Unit
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX