In This Article

Ean13Symbology Class

Represents a bar code symbology implementation for EAN-13.

This symbology is also known as European Article Number 13, and Japanese Article Number (JAN) in Japan.

public class Ean13Symbology : LinearBarCodeSymbology, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement BarCodeSymbology LinearBarCodeSymbology Object

Remarks

EAN-13 is a linear symbology, based on the original 12-digit Universal Product Code (UPC) system developed in North America. EAN-13 bar codes are used worldwide for marking retail goods.

This symbology can encode 13 numeric characters, divided into four parts: system code, manufacturer code, product code, and check digit.

This symbology implementation auto-calculates and inserts a check digit.

For detailed documentation on this symbology's features and how to use them, please see the EAN-13 documentation topic.

Constructors

Ean13Symbology()

Initializes an instance of the Ean13Symbology class.

public Ean13Symbology()

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 System.String

The old value.

newValue System.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 System.String

The value to validate.

Returns

System.Windows.Controls.ValidationResult:

A System.Windows.Controls.ValidationResult containing the result of the validation.

Inherited Members

Extension Methods