In This Article

Itf14Symbology Class

Represents a barcode symbology implementation for ITF-14, an application of Interleaved 2 of 5 used for GTIN-14 identifiers.

public class Itf14Symbology : Interleaved2of5Symbology
Inheritance:
object ObservableObjectBase BarcodeSymbologyBase LinearBarcodeSymbologyBase Interleaved2of5Symbology object

Remarks

ITF-14 is a standardized use of the Interleaved 2 of 5 symbology that encodes 14-digit GTIN (Global Trade Item Number) identifiers. It is defined by GS1 and is widely used on shipping cartons and outer packaging in the supply chain.

The value provided should be either 13 digits (the check digit is auto-calculated and appended) or 14 digits (the provided check digit is validated). The check digit uses the same modulo-10 algorithm as the base Interleaved2of5Symbology.

This symbology defaults to displaying a Rectangle bearer bar frame, which is the most common ITF-14 presentation. The bearer bar kind and thickness can be customized using the BearerBarKind and BearerBarWidth properties.

The standard Interleaved 2 of 5 implementation is available in Interleaved2of5Symbology.

Constructors

Itf14Symbology()

Initializes an instance of the class.

public Itf14Symbology()

Properties

AreAllDigitsVisible

Indicates whether all digits are visible in the displayed value.

protected override bool AreAllDigitsVisible { get; }

Property Value

bool:

The default value is true.

ExampleValue

An example value that is valid for the symbology.

public override string ExampleValue { get; }

Property Value

string

Name

The name of the symbology.

public override string Name { get; }

Property Value

string

Methods

CalculateChecksumDigit(string)

Calculates a check digit for the given value.

protected override char CalculateChecksumDigit(string value)
Parameter Type Description
value string

The value for which to calculate the checksum digit.

Returns

char:

The calculated checksum digit, or character value '\0' if no checksum should be used.

Remarks

The default implementation uses the standard GS1 modulo-10 algorithm. Derived symbologies may override this to implement different checksum algorithms as needed.

Validate(string)

Validates the specified value.

public override BarcodeValidationResult Validate(string value)
Parameter Type Description
value string

The value to validate.

Returns

BarcodeValidationResult:

A BarcodeValidationResult containing the validation result.

Inherited Members

Extension Methods