In This Article

UpcASymbology Class

Represents a bar code symbology implementation for UPC-A.

This symbology is also known as Universal Product Code version A.

public class UpcASymbology : LinearBarCodeSymbology, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement BarCodeSymbology LinearBarCodeSymbology Object

Remarks

UPC-A is a linear symbology, widely used in the United States and Canada for tracking trade items in stores.

This symbology can encode 12 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 UPC-A documentation topic.

Constructors

UpcASymbology()

Initializes an instance of the UpcASymbology class.

public UpcASymbology()

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