Blazor Barcode Example - EAN-8 Default Functionalities
Allowed input characters: The EAN-8 barcode supports all numeric digits (0-9) and requires an 8 characters text length.
Properties
This sample visualizes an EAN-8 barcode, which represents 8-digit Global Trade Identification Numbers. EAN-8 barcodes were introduced for use on small packages where an EAN-13 barcode would be too large.
This sample demonstrates how to create an EAN-8 barcode. The Type property can be set to Ean8.
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.