Blazor Barcode Example - Codabar
Allowed input characters: The Codabar barcode supports all numeric digits (0-9), special characters (-, $, :, /, ., +), and start/stop characters (A-D).
Properties
This sample visualizes a Codabar barcode, a symbology designed for accurate reading even when printed with dot matrix printers. Codabar is widely used in applications requiring serial numbers, such as blood bank management, door-to-door delivery slips, and member cards.
This sample demonstrates how to create a Codabar barcode with a character set of 16 letters and four start/stop characters. The Type property can be set to Codabar.
Customize the barcode with the following options:
- Content: Modify the
Valueproperty to change the barcode content - Size: Adjust
WidthandHeightto control dimensions - Colors: Set
Background ColorandFore Color - Text Display: Use
Text Visibilityto show or hide text - Spacing: Configure
Marginproperties (left, right, top, bottom) - Text Alignment: Set
Position(top or bottom) andAlignment(center, left, or right)
Use the Download button to save the barcode as an image.