All Demos / DotCode Generator / / DotCode

Blazor Barcode Example - DotCode

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: DotCode supports numeric values (0-9), uppercase and lowercase alphabetic characters (A-Z, a-z), and supported special characters. It is designed for compact, high-density data encoding in space-constrained applications.
Properties

This sample demonstrates how to generate a DotCode barcode with custom content using the SfDotCodeGenerator component. This two-dimensional barcode symbology encodes data using arranged dots, enabling high-density data storage and reliable error correction in limited print areas, making it ideal for manufacturing, logistics, product identification, and packaging applications.

Customize the 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).
  • Export: Use the Download button to export the generated barcode as an image.