Blazor Barcode Example - Code 39
Allowed input characters: The Code 39 barcode supports all numeric digits (0-9), uppercase alphabetic letters (A-Z), and special characters(-, ., $, /, +, %, space).
Properties
This sample visualizes a Code 39 barcode, a self-checking symbology that consists of uppercase letters, numeric digits, and several special characters. Code 39 is widely used in the automotive and defense industries as a standard labeling format, particularly for presenting model numbers.
This sample demonstrates how to create a Code 39 self-checking symbology barcode. The Type property can be set to Code39.
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.