In This Article

UpcESymbology Class

Represents a bar code symbology implementation for UPC-E.

public class UpcESymbology : LinearBarCodeSymbology
Inheritance:
object Visual UIElement FrameworkElement BarCodeSymbology LinearBarCodeSymbology object

Remarks

UPC-E is a linear symbology, used on smaller retail packages where UPC-A bar codes don't fit.

This symbology can encode 8 numeric characters, divided into three parts: system code, product code, and check digit.

This symbology uses a check digit, but it is not currently calculated automatically.

Constructors

UpcESymbology()

Initializes an instance of the class.

public UpcESymbology()

Methods

OnValueChanged(string?, string?)

Occurs when the value of the Value property is changed.

protected override void OnValueChanged(string? oldValue, string? newValue)
Parameter Type Description
oldValue string

The old value.

newValue string

The new value.

ValidateValue(string?)

Validates that the symbology can parse the specified value.

public override ValidationResult ValidateValue(string? value)
Parameter Type Description
value string

The value to validate.

Returns

ValidationResult:

A ValidationResult containing the result of the validation.

Inherited Members

Extension Methods