Blazor Barcode Example - Code 32
Allowed input characters: The Code 32 barcode supports all numeric digits (0-9) and requires an 8-character text length.
Properties
This sample visualizes a Code 32 barcode, a pharmaceutical barcode symbology that encodes numeric data in a compressed format. Code 32 supports all numeric digits and is commonly used in the pharmaceutical and healthcare industries.
This sample demonstrates how to create a Code 32 barcode using five bars and four spaces for encoding each character. The Type property can be set to Code32.
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.