Blazor Barcode Example - GS1 DataBar Expanded
This demo passes automated axe checks with 0 violations — semantic markup, ARIA, full keyboard operation, visible focus. Section 508 conformant
Accessibility report
VPAT
Allowed input characters: GS1 DataBar Expanded supports GS1 Application Identifiers (AIs) and can encode numeric, alphanumeric, and supported special characters. It can store up to 74 numeric digits or 41 alphanumeric characters, enabling the encoding of detailed GS1-compliant data.
Properties
This sample demonstrates how to generate a GS1 DataBar Expanded barcode using GS1-compliant data. With support for GS1 Application Identifiers (AIs), it can encode product identifiers, batch numbers, expiration dates, serial numbers, and other business information, making it ideal for healthcare, pharmaceutical, retail, and supply chain applications that require data beyond a standard GTIN.
Customize the barcode with the following options:
- Type: Set the
Typeproperty toGS1DataBarExpandedto render a GS1 DataBar Expanded barcode. - Content: Modify the
Valueproperty to update the encoded GS1 data. - Size: Adjust
WidthandHeightto control the barcode dimensions. - Colors: Customize the barcode appearance using the
BackgroundColorandForeColorproperties. - Text Display: Use the
Visibilityproperty to show or hide the human-readable barcode text. - Spacing: Configure
Marginproperties (left, right, top, and bottom) around the barcode. - Text Alignment: Set the display text
Position(top or bottom) andAlignment(center, left, or right). - Export: Use the
Downloadbutton to export the generated barcode as an image.