WebForms Barcode Overview

The RadBarcode control can be used for automatic Barcode generation directly from a numeric or character data. It supports several standards that can be used when creating the image.

Telerik UI for ASP.NET AJAX Ninja image

The Barcode is part of Telerik UI for ASP.NET AJAX, a professional grade UI library with 120+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

List with standard barcode types is shown in the screenshot below:

WebForms barcode overview

Properties

After a barcode is added on the page, it is necessary to adjust the basic properties of the barcode,and to specify its type, text and appearance.

  • Type - Specifies the type of the standard used for encoding the text.

  • Text -Text that will be encoded with Barcode and rendered in SVG file.

  • Width - Use for specifying the width of the SVG file and the HTML Span element in which it is wrapped.

  • Height - Use for specifying the height of the SVG file and the HTML Span element in which it is wrapped.

  • RenderChecksum - Specifies if the checksum will be rendered in the barcode.

  • ShowChecksum - Specifies if the checksum should be written under the barcode.

  • ShowText - Specifies if the text will be shown under the barcode.

  • ShortLinesLengthPercentage - Specifies the ration between long and short lines in the rendered barcode and adjust the Height and Width of the bars in percentage of the barcode's wrapper. Expects value varies from 0.00 to 100.00 (90 by default).

If the value in the Text property is invalid for the selected type, the Barcode will not be visible.

See Also

In this article