Blazor Barcode Example - Code 128A
Allowed input characters: The Code 128A barcode supports all numeric values (0-9), uppercase alphabetic characters (A-Z), punctuation marks, special characters (ASCII values 32 through 127) and control characters (ASCII values 00 through 95).
Properties
This sample visualizes a Code 128A barcode, which presents information using a combination of numbers, uppercase letters, and control characters such as tab and new line. Code 128A is optimized for encoding uppercase alphanumeric data and special control characters.
This sample demonstrates how to create a Code 128A barcode with alphanumeric characters. The Type property can be set to Code128A.
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.