All Demos / Data Matrix Generator / / GS1 Data Matrix

Blazor Barcode Example - GS1 Data Matrix

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 Data Matrix supports numeric, alphanumeric, and supported special characters. Data is encoded using GS1 Application Identifiers (AIs), enabling structured business information such as product identifiers, batch numbers, expiration dates, and serial numbers to be stored within a compact barcode.
Properties

This sample demonstrates how to generate a GS1 Data Matrix barcode using GS1-compliant data. Combining the high-density encoding capabilities of a Data Matrix symbol with GS1 Application Identifiers (AIs), this two-dimensional barcode enables compact and accurate storage of product and traceability information, making it ideal for healthcare, pharmaceutical, manufacturing, and supply chain applications.

Customize the Data Matrix barcode with the following options:

  • Content: Modify the Value property to update the encoded barcode 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).
  • Encoding Type: Set the Encoding property to specify the Data Matrix encoding mode
  • Barcode Size: Define the Size property to control the Data Matrix symbol size
  • Export: Use the Download button to export the generated barcode as an image.