Blazor Barcode Example - Extended Code 39
This sample visualizes the model number of an item in the automotive industry. This barcode supports both standard and extended Code 39 barcodes. The extended mode gives access to the full set of ASCII letters.
This sample shows how to create an extended Code 39 barcode with an added checksum. The Type
property can be used to set the barcode type as Code39Extension
. By default, EnableCheckSum
is set as true
, but the checksum can be disabled by assigning false
to it.
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.