Blazor Barcode Example - UPC-E
Allowed input characters: The UPC-E barcode supports all numeric digits(0-9) and requires 6 characters text length.
Properties
This sample visualizes a UPC-E barcode, a more compact representation of UPC-A barcodes. UPC-E supports a combination of numbers, uppercase letters, and special control characters such as tab and new line, making it suitable for applications with space constraints.
This sample demonstrates how to create a UPC-E barcode with alphanumeric characters. The Type property can be set to UpcE.
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.