Blazor Barcode Example - Data Matrix
Properties
This sample visualizes a Data Matrix barcode, which displays encoded text or numerical values as an optical label. The barcode features solid adjacent borders in an "L" shape with two additional borders of alternating dark and light cells, and contains rows and columns of cells encoding the information.
This example demonstrates how to render encoded text or numerical values using the SfDataMatrixGenerator component.
Customize the Data Matrix barcode with the following options:
- Content: Modify the
Valueproperty to change the barcode content - Size: Adjust
WidthandHeightto control dimensions - Colors: Set
Background ColorandFore Color - Text Display: Use
Text Visibilityto show or hide text - Spacing: Configure
Marginproperties (left, right, top, bottom) - Encoding Type: Set the
Encodingproperty - Barcode Size: Define the
Sizeproperty
Use the Download button to save the barcode as an image.