All Demos / Barcode Generator / GS1 Barcodes / GS1 DataBar Stacked

Blazor Barcode Example - GS1 DataBar Stacked

Loading Syncfusion Blazor Server Demos…
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 Type property to GS1DataBarStacked to render a GS1 DataBar Stacked barcode.
  • Content: Modify the Value property to update the encoded GS1 data.
  • Size: Adjust Width and Height to control the barcode dimensions.
  • Colors: Customize the barcode appearance using the BackgroundColor and ForeColor properties.
  • Text Display: Use the Visibility property to show or hide the human-readable barcode text.
  • Spacing: Configure Margin properties (left, right, top, and bottom) around the barcode.
  • Text Alignment: Set the display text Position (top or bottom) and Alignment (center, left, or right).
  • Export: Use the Download button to export the generated barcode as an image.