Blazor Barcode Example - GS1 DataBar Stacked
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 Stacked supports numeric values (0-9) only and is used to encode a 14-digit GTIN (Global Trade Item Number). Its stacked format is designed for applications where horizontal space is limited while maintaining reliable scanning performance.
Properties
This sample demonstrates how to generate a GS1 DataBar Stacked barcode using GS1-compliant data. By arranging encoded data into multiple rows, this compact barcode format conserves label space and is commonly used in retail and product labeling environments with width constraints.
Customize the barcode with the following options:
- Type: Set the
Typeproperty toGS1DataBarStackedto render a GS1 DataBar Stacked 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.