Codabar is a linear symbology, developed in 1972 by Pitney Bowes, Inc.
It is most commonly used by libraries, blood banks, and on FedEx airbills.
A sample of this symbology
Symbology Characteristics
The following table gives an overview of the characteristics of the symbology.
Item | Details |
---|---|
Implementation Class | Codabar |
Base Class | Linear |
Related ValidationRule Class |
Codabar |
Encodable Characters | Number and -$:/.+ characters, along with 4 start/stop characters. |
Supports Checksum | No. This symbology is self-checking, so no checksum or check digit is required. |
Has Special Start/Stop Characters | Yes. Each encoded value must start and stop with A , B , C , or D . |
Fixed Length Requirements | No. The symbology value may be any number of characters. |
Important Members
This symbology has these important members:
Member | Description |
---|---|
Are |
Gets or sets whether the start/stop characters are visible in the displayed value. |
Background Property | Gets or sets the Brush to use for rendering the background. |
Bar |
Gets or sets the desired height of the bars. |
Bar |
Gets or sets the width ratio of wide lines to narrow lines. |
Display |
Gets the display name of the symbology. |
Display |
Gets or sets the value that is displayed if ValueNone . |
Foreground Property | Gets or sets the Brush to use for rendering the foreground. |
Measure |
Measures the desired size of the symbology, based on the specified available size. |
Min |
Gets or sets the minimum ratio that the height of the bar code must be in relation to its width. |
Quiet |
Gets or sets the Thickness of the quiet zone. |
Render Method | Renders the symbology to the specified DrawingContext . |
To |
Creates a BitmapSource based on the contents of the symbology. |
Validate |
Validates that the symbology can parse the specified value. |
Value Property | Gets or sets the value to encode in the bar code. |
Value |
Gets or sets a Linear |
Value |
Gets or sets the distance that the Value text intrudes into the bar code when ValueNone . |
Sample XAML
This sample XAML code shows how to create a Bar