In This Article

Code39ExtendedSymbology Class

Represents a barcode symbology implementation for Code 39 Extended.

public class Code39ExtendedSymbology : Code39Symbology
Inheritance:
object ObservableObjectBase BarcodeSymbologyBase LinearBarcodeSymbologyBase Code39Symbology object

Remarks

This symbology is also known as Code 39 Full ASCII.

Code 39 Extended is an extension of the Code 39 linear symbology that allows encoding all of the lower 128 ASCII characters. It achieves this by using combinations of standard Code 39 characters with special shift characters ($, /, %, +). For example, lowercase letters are encoded using + followed by the uppercase equivalent.

Unlike the base Code39Symbology, this symbology supports lowercase letters, control characters, and the full range of ASCII printable and non-printable characters. The encoding process automatically converts extended characters into their Code 39 representations, so the input value can contain any ASCII character (0-127).

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 displayed value.

This symbology is self-checking, so no checksum or check digit is required. However if the IsChecksumEnabled property is true, the symbology's implementation auto-calculates and inserts a check digit. This is referred to as Code 39 mod 43.

The standard implementation of Code 39 is available in Code39Symbology. That implementation allows for encoding a subset of the characters able to be encoded by this symbology.

Constructors

Code39ExtendedSymbology()

Initializes an instance of the class.

public Code39ExtendedSymbology()

Properties

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

PreprocessCharacter(char)

Preprocesses a raw input value character before encoding, such as converting lowercase to uppercase, escaping characters, etc.

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

A raw input value character.

Returns

string:

The preprocessed string value to encode.

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