Blazor Barcode Example - Code 128A

Barcode Generator / Getting started / Code 128A

This sample visualizes a barcode image that presents information with a combination of numbers, uppercase letters, and control characters such as tab and new line.

Loading Syncfusion Blazor Server Demos…

Allowed input characters: The Code 128A barcode supports all numeric values (0-9), uppercase alphabetic characters (A-Z), punctuation marks, special characters (ASCII values 32 through 127) and control characters (ASCII values 00 through 95).
Appearance
Value
Width
Height
Background Color
Fore Color
Text Visibility
Margin
Left
Right
Top
Bottom
Text Properties
Top
Bottom
Position
Alignment
Display Text

This sample shows how to create the Code 128A barcode type with alphanumeric characters. The Type property can be used to set the barcode type as Code128ACode128A.

You can customize the barcode's 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. Text properties allow for fine-tuning text placement and alignment, enabling you to set its Position (e.g., top or bottom) and Alignment (e.g., center, left, or right).

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