Blazor Barcode Example - Code 128C
Allowed input characters: The Code 128C barcode supports all numeric digit pairs from 00 through 99.
Properties
This sample visualizes a Code 128C barcode, which efficiently encodes numeric data using pairs of digits. Code 128C is optimized for applications that primarily handle numerical data, offering higher density encoding for digit-only content.
This sample demonstrates how to create a Code 128C barcode with numeric values. The Type property can be set to Code128C.
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.