Blazor Barcode Example - Data Matrix

Barcode Generator / Getting started / Data Matrix

This sample displays encoded numerals or text as an optical label using solid adjacent borders in an “L” shape and two other borders consisting of alternating dark and light cells or modules. Within these borders are rows and columns of cells that encode information.

Loading Syncfusion Blazor Server Demos…

Appearance
Value
Width
Height
Background Color
Fore Color
Text Visibility
Margin
Left
Right
Top
Bottom
Size
Encoding

This example shows how to display encoded text or numerical values as a label using the SfDataMatrixGenerator component.

You can customize the Data Matrix Value, allowing you to modify the barcode content. Adjust its Width, Height, Background Color, and Fore Color to control its size and appearance.

The Text Visibility option lets you choose whether to display the accompanying text. Margin properties such as left, right, top, and bottom define the spacing around the barcode.

The data matrix encoding type can be set using the Encoding property of the Barcode component and the data matrix size can be defined using the Size property of the component.

The Download button allows users to save the barcode as an image.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE