In This Article

Code93Symbology Class

Represents a bar code symbology implementation for Code 93.

public class Code93Symbology : LinearBarCodeSymbology
Inheritance:
object Visual UIElement FrameworkElement BarCodeSymbology LinearBarCodeSymbology object
Derived:
Code93ExtendedSymbology

Remarks

Code 93 is a linear symbology, designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. Each Code 93 character is divided into nine modules and always has three bars and three spaces. This symbology is primarily used by the Canadian postal office.

This symbology can encode numbers, uppercase letters, and -. $/+% characters.

Each encoded value must start and stop with *, which is automatically inserted. The AreStartStopCharactersVisible property determines whether these start/stop characters are included in the DisplayValue.

This symbology implementation auto-calculates and inserts two check characters.

An extended implementation of Code 93 is available in Code93ExtendedSymbology. That implementation allows for all lower 128 ASCII characters to be encoded based on the core Code 93 concepts.

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

Constructors

Code93Symbology()

Initializes an instance of the Code93Symbology class.

public Code93Symbology()

Properties

AreStartStopCharactersVisible

Gets or sets whether the start/stop characters (*) are visible in the displayed value.

public bool AreStartStopCharactersVisible { get; set; }

Property Value

bool:

true if the start/stop characters (*) are visible in the displayed value; otherwise, false. The default value is false.

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.

PreprocessCharacter(char)

Pre-processes the specified character and expands it if necessary.

protected virtual string PreprocessCharacter(char ch)
Parameter Type Description
ch char

The character to examine.

Returns

string:

The pre-processing result.

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.

Fields

AreStartStopCharactersVisibleProperty

Identifies the AreStartStopCharactersVisible dependency property. This field is read-only.

public static readonly DependencyProperty AreStartStopCharactersVisibleProperty

Inherited Members