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.
Name
The name of the symbology.
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
- Code39Symbology.CreateRenderData(BarcodeEncodingRequest)
- Code39Symbology.GetModulesWidth(int)
- Code39Symbology.AreStartStopCharactersVisible
- Code39Symbology.IsChecksumEnabled
- Code39Symbology.WideToNarrowRatio
- LinearBarcodeSymbologyBase.GetMargin()
- LinearBarcodeSymbologyBase.BarHeight
- LinearBarcodeSymbologyBase.MinHeightToWidthRatio
- LinearBarcodeSymbologyBase.QuietZoneThickness
- LinearBarcodeSymbologyBase.ValueAlignment
- BarcodeSymbologyBase.CreateRenderDataAsync(BarcodeEncodingRequest, CancellationToken)
- ObservableObjectBase.OnPropertyChanged(string)
- ObservableObjectBase.OnPropertyChanged(PropertyChangedEventArgs)
- ObservableObjectBase.OnPropertyChanging(string)
- ObservableObjectBase.OnPropertyChanging(PropertyChangingEventArgs)
- ObservableObjectBase.SetProperty<T>(ref T, T, string)
- ObservableObjectBase.PropertyChanged
- ObservableObjectBase.PropertyChanging
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()